Edit

Share via


ServiceDomain.Leave Method

Definition

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(ServiceConfig) was called becomes the current context.

public:
 static System::EnterpriseServices::TransactionStatus Leave();
public static System.EnterpriseServices.TransactionStatus Leave ();
static member Leave : unit -> System.EnterpriseServices.TransactionStatus
Public Shared Function Leave () As TransactionStatus

Returns

One of the TransactionStatus values.

Exceptions

ServiceConfig is not supported on the current platform.

Applies to