Domain. Leave 方法
触发服务器端的策略，随后触发客户端的策略，如同一个方法调用正在返回。Triggers the server and then the client side policies as if a method call were returning. 然后，当前上下文被弹出上下文堆栈，调用 Enter(ServiceConfig) 时正在运行的上下文成为当前的上下文。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