public class Transaction extends NetObject implements ISerializable, java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Transactions.Transaction
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Transactions.Local, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Transactions.Local
|
static java.lang.String |
className
Qualified class name: System.Transactions.Transaction
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Transaction() |
Transaction(java.lang.Object instance)
Internal constructor.
|
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetObjectData, ToISerializablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Transaction()
throws java.lang.Throwable
java.lang.Throwablepublic Transaction(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addTransactionCompleted(TransactionCompletedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static Transaction cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Transaction, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTransaction instancejava.lang.Throwable - in case of error during cast operationpublic Transaction Clone() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic DependentTransaction DependentClone(DependentCloneOption cloneOption) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionTransactionExceptionpublic void Dispose()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
OverflowException,
FormatException,
InvalidOperationException,
EventSourceException
public Enlistment EnlistDurable(Guid resourceManagerIdentifier, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionTransactionExceptionpublic Enlistment EnlistDurable(Guid resourceManagerIdentifier, ISinglePhaseNotification singlePhaseNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionTransactionExceptionpublic boolean EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, InvalidOperationException, EventSourceException, ObjectDisposedException, CultureNotFoundException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionInvalidOperationExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionTransactionExceptionpublic boolean EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Guid promoterType) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionTransactionExceptionpublic Enlistment EnlistVolatile(IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionTransactionExceptionpublic Enlistment EnlistVolatile(ISinglePhaseNotification singlePhaseNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionTransactionExceptionpublic static Transaction getCurrent() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, ArgumentException, EventSourceException, InvalidOperationException, CultureNotFoundException
public IsolationLevel getIsolationLevel() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ISerializablegetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ISerializablegetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ISerializablegetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ISerializablegetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic byte[] GetPromotedToken()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
OverflowException,
FormatException,
EventSourceException,
ObjectDisposedException,
CultureNotFoundException,
InvalidOperationException,
TransactionException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionTransactionExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic Guid getPromoterType() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException
public TransactionInformation getTransactionInformation() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException
public Enlistment PromoteAndEnlistDurable(Guid resourceManagerIdentifier, IPromotableSinglePhaseNotification promotableNotification, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionTransactionExceptionpublic void removeTransactionCompleted(TransactionCompletedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void Rollback()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
OverflowException,
FormatException,
EventSourceException,
InvalidOperationException,
ObjectDisposedException,
CultureNotFoundException,
TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionInvalidOperationExceptionObjectDisposedExceptionCultureNotFoundExceptionTransactionExceptionpublic void Rollback(NetException e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, InvalidOperationException, ObjectDisposedException, CultureNotFoundException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionInvalidOperationExceptionObjectDisposedExceptionCultureNotFoundExceptionTransactionExceptionpublic static void setCurrent(Transaction Current) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, ArgumentException, EventSourceException, CultureNotFoundException, InvalidOperationException
public void SetDistributedTransactionIdentifier(IPromotableSinglePhaseNotification promotableNotification, Guid distributedTransactionIdentifier) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, EventSourceException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionTransactionExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject