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

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(GlymaSessionConfiguration configuration, Guid sessionId)
        {
            MapResponse result = null;

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

            return result;
        }

Usage Example

 public MapResponse CompleteTransaction(string callingUrl, Guid sessionId)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return nodeServiceClient.CompleteTransaction(callingUrl, sessionId);
     }
 }
All Usage Examples Of Glyma.NodeServiceApp.NodeServiceClient::CompleteTransaction