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;
One of the TransactionStatus values.
|PlatformNotSupportedException||ServiceConfig is not supported on the current platform.|
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