This documentation is archived and is not being maintained.

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
public static TransactionStatus Leave();
public: static TransactionStatus Leave();
public static function Leave() : TransactionStatus;

Return Value

One of the TransactionStatus values.


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


Platforms: Windows Server 2003 family

.NET Framework Security: 

See Also

ServiceDomain Class | ServiceDomain Members | System.EnterpriseServices Namespace