public class Transaction extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/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=9.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTransactionCompleted(TransactionCompletedEventHandler handler)
Invokes the .NET member addTransactionCompleted.
|
static Transaction |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Transaction, a cast assert is made to check if types are compatible. |
Transaction |
Clone()
Invokes the .NET member Clone.
|
void |
close() |
DependentTransaction |
DependentClone(DependentCloneOption cloneOption)
Invokes the .NET member DependentClone.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
Enlistment |
EnlistDurable(Guid resourceManagerIdentifier,
IEnlistmentNotification enlistmentNotification,
EnlistmentOptions enlistmentOptions)
Invokes the .NET member EnlistDurable.
|
Enlistment |
EnlistDurable(Guid resourceManagerIdentifier,
ISinglePhaseNotification singlePhaseNotification,
EnlistmentOptions enlistmentOptions)
Invokes the .NET member EnlistDurable.
|
boolean |
EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification)
Invokes the .NET member EnlistPromotableSinglePhase.
|
boolean |
EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification,
Guid promoterType)
Invokes the .NET member EnlistPromotableSinglePhase.
|
Enlistment |
EnlistVolatile(IEnlistmentNotification enlistmentNotification,
EnlistmentOptions enlistmentOptions)
Invokes the .NET member EnlistVolatile.
|
Enlistment |
EnlistVolatile(ISinglePhaseNotification singlePhaseNotification,
EnlistmentOptions enlistmentOptions)
Invokes the .NET member EnlistVolatile.
|
static Transaction |
getCurrent()
Gets the value of the .NET property Current.
|
IsolationLevel |
getIsolationLevel()
Gets the value of the .NET property IsolationLevel.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
byte[] |
GetPromotedToken()
Invokes the .NET member GetPromotedToken.
|
Guid |
getPromoterType()
Gets the value of the .NET property PromoterType.
|
TransactionInformation |
getTransactionInformation()
Gets the value of the .NET property TransactionInformation.
|
Enlistment |
PromoteAndEnlistDurable(Guid resourceManagerIdentifier,
IPromotableSinglePhaseNotification promotableNotification,
ISinglePhaseNotification enlistmentNotification,
EnlistmentOptions enlistmentOptions)
Invokes the .NET member PromoteAndEnlistDurable.
|
void |
removeTransactionCompleted(TransactionCompletedEventHandler handler)
Invokes the .NET member removeTransactionCompleted.
|
void |
Rollback()
Invokes the .NET member Rollback.
|
void |
Rollback(NetException e)
Invokes the .NET member Rollback.
|
static void |
setCurrent(Transaction Current)
Sets the value of the .NET property Current.
|
void |
SetDistributedTransactionIdentifier(IPromotableSinglePhaseNotification promotableNotification,
Guid distributedTransactionIdentifier)
Invokes the .NET member SetDistributedTransactionIdentifier.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public 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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addTransactionCompleted(TransactionCompletedEventHandler handler) throws java.lang.Throwable
handler - the argument of type TransactionCompletedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic 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, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
cloneOption - the argument of type DependentCloneOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTransactionException - if the .NET member raises itpublic void Dispose()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
OverflowException,
FormatException,
InvalidOperationException,
EventSourceException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Enlistment EnlistDurable(Guid resourceManagerIdentifier, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
resourceManagerIdentifier - the argument of type GuidenlistmentNotification - the argument of type IEnlistmentNotificationenlistmentOptions - the argument of type EnlistmentOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTransactionException - if the .NET member raises itpublic Enlistment EnlistDurable(Guid resourceManagerIdentifier, ISinglePhaseNotification singlePhaseNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
resourceManagerIdentifier - the argument of type GuidsinglePhaseNotification - the argument of type ISinglePhaseNotificationenlistmentOptions - the argument of type EnlistmentOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTransactionException - if the .NET member raises itpublic boolean EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, FormatException, InvalidOperationException, EventSourceException, ObjectDisposedException, ArgumentNullException, CultureNotFoundException, TransactionException
promotableSinglePhaseNotification - the argument of type IPromotableSinglePhaseNotificationjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itTransactionException - if the .NET member raises itpublic boolean EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Guid promoterType) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
promotableSinglePhaseNotification - the argument of type IPromotableSinglePhaseNotificationpromoterType - the argument of type Guidjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTransactionException - if the .NET member raises itpublic Enlistment EnlistVolatile(IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
enlistmentNotification - the argument of type IEnlistmentNotificationenlistmentOptions - the argument of type EnlistmentOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTransactionException - if the .NET member raises itpublic Enlistment EnlistVolatile(ISinglePhaseNotification singlePhaseNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
singlePhaseNotification - the argument of type ISinglePhaseNotificationenlistmentOptions - the argument of type EnlistmentOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTransactionException - if the .NET member raises itpublic static Transaction getCurrent() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, ArgumentException, EventSourceException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itArgumentException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic IsolationLevel getIsolationLevel() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic byte[] GetPromotedToken()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
OutOfMemoryException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
OverflowException,
FormatException,
EventSourceException,
ArgumentNullException,
ObjectDisposedException,
CultureNotFoundException,
InvalidOperationException,
TransactionException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTransactionException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic Guid getPromoterType() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic TransactionInformation getTransactionInformation() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Enlistment PromoteAndEnlistDurable(Guid resourceManagerIdentifier, IPromotableSinglePhaseNotification promotableNotification, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
resourceManagerIdentifier - the argument of type GuidpromotableNotification - the argument of type IPromotableSinglePhaseNotificationenlistmentNotification - the argument of type ISinglePhaseNotificationenlistmentOptions - the argument of type EnlistmentOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTransactionException - if the .NET member raises itpublic void removeTransactionCompleted(TransactionCompletedEventHandler handler) throws java.lang.Throwable
handler - the argument of type TransactionCompletedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Rollback()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
OutOfMemoryException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
OverflowException,
FormatException,
EventSourceException,
ArgumentNullException,
InvalidOperationException,
ObjectDisposedException,
CultureNotFoundException,
TransactionException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itTransactionException - if the .NET member raises itpublic void Rollback(NetException e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, InvalidOperationException, ObjectDisposedException, CultureNotFoundException, TransactionException
e - the argument of type NetExceptionjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itTransactionException - if the .NET member raises itpublic static void setCurrent(Transaction Current) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, ArgumentException, EventSourceException, ArgumentNullException, CultureNotFoundException, InvalidOperationException
Current - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itArgumentException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void SetDistributedTransactionIdentifier(IPromotableSinglePhaseNotification promotableNotification, Guid distributedTransactionIdentifier) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, EventSourceException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException, TransactionException
promotableNotification - the argument of type IPromotableSinglePhaseNotificationdistributedTransactionIdentifier - the argument of type Guidjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTransactionException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object