Glyma.NodeServiceApp.NodeServiceClient.IsSessionCompleted C# (CSharp) Method

IsSessionCompleted() public method

public IsSessionCompleted ( GlymaSessionConfiguration configuration, System.Guid sessionId ) : bool
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
return bool
        public bool IsSessionCompleted(GlymaSessionConfiguration configuration, Guid sessionId)
        {
            bool result = false;

            // run the call against the application proxy
            NodeServiceApplicationProxy.Invoke(_serviceContext,
                proxy => result = proxy.IsSessionCompleted(configuration, sessionId));

            return result;
        }

Usage Example

示例#1
0
 public bool IsSessionCompleted(string callingUrl, Guid sessionId)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return(nodeServiceClient.IsSessionCompleted(callingUrl, sessionId));
     }
 }
All Usage Examples Of Glyma.NodeServiceApp.NodeServiceClient::IsSessionCompleted