CompleteTransaction() public method

public CompleteTransaction ( GlymaSessionConfiguration configuration, System.Guid sessionId ) : MapResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
return TransactionalNodeService.Common.MapResponse
 public MapResponse CompleteTransaction(string callingUrl, Guid sessionId)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return nodeServiceClient.CompleteTransaction(callingUrl, sessionId);
     }
 }
Beispiel #2
0
 public MapResponse CompleteTransaction(string callingUrl, Guid sessionId)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return(nodeServiceClient.CompleteTransaction(callingUrl, sessionId));
     }
 }
        public MapResponse CompleteTransaction(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.CompleteTransaction(configuration, sessionId));
                }
            }
        }
        public MapResponse CompleteTransaction(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.CompleteTransaction(configuration, sessionId);
                }
            }
        }