This documentation is archived and is not being maintained.
ServiceDomain.Leave Method
.NET Framework 1.1
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:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
ServiceDomain Class | ServiceDomain Members | System.EnterpriseServices Namespace
Show: