public static void SendCreateCoordinationContextResponse(Microsoft.Transactions.Wsat.Messaging.RequestAsyncResult result, ref CreateCoordinationContextResponse response) { Message message = new CreateCoordinationContextResponseMessage(result.MessageVersion, ref response); if (response.IssuedToken != null) { CoordinationServiceSecurity.AddIssuedToken(message, response.IssuedToken); } result.Finished(message); }
public static void SendRegisterResponse(Microsoft.Transactions.Wsat.Messaging.RequestAsyncResult result, ref RegisterResponse response) { Message reply = new RegisterResponseMessage(result.MessageVersion, ref response); result.Finished(reply); }
public static void SendFaultResponse(Microsoft.Transactions.Wsat.Messaging.RequestAsyncResult result, Fault fault) { Message reply = CreateFaultMessage(result.MessageId, result.MessageVersion, fault); result.Finished(reply); }