IsSessionCompleted() public method

public IsSessionCompleted ( GlymaSessionConfiguration configuration, System.Guid sessionId ) : bool
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
return bool
Ejemplo n.º 1
0
 public bool IsSessionCompleted(string callingUrl, Guid sessionId)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return(nodeServiceClient.IsSessionCompleted(callingUrl, sessionId));
     }
 }
        public bool IsSessionCompleted(string callingUrl, Guid sessionId)
        {
            using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
            {
                using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, null, null, SPGlymaRightFactory.Instance.TransactionRight))
                {
                    GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession();

                    return(nodeServiceClient.IsSessionCompleted(configuration, sessionId));
                }
            }
        }
 public bool IsSessionCompleted(string callingUrl, Guid sessionId)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return nodeServiceClient.IsSessionCompleted(callingUrl, sessionId);
     }
 }
        public bool IsSessionCompleted(string callingUrl, Guid sessionId)
        {
            using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
            {
                using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, null, null, SPGlymaRightFactory.Instance.TransactionRight))
                {
                    GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession();

                    return nodeServiceClient.IsSessionCompleted(configuration, sessionId);
                }
            }
        }