Export (0) Print
Expand All

ServiceDomain.Leave Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Triggers the server and then the client side policies as if a method call were returning. The current context is then popped from the context stack, and the context that was running when Enter was called becomes the current context.

[Visual Basic]
Public Shared Function Leave() As TransactionStatus
[C#]
public static TransactionStatus Leave();
[C++]
public: static TransactionStatus Leave();
[JScript]
public static function Leave() : TransactionStatus;

Return Value

One of the TransactionStatus values.

Exceptions

Exception Type Condition
PlatformNotSupportedException ServiceConfig is not supported on the current platform.

Requirements

Platforms: Windows Server 2003 family

.NET Framework Security: 

See Also

ServiceDomain Class | ServiceDomain Members | System.EnterpriseServices Namespace

Show:
© 2014 Microsoft