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);
        }
        private CreateCoordinationContextMessage CreateCreateCoordinationContextMessage(ref CreateCoordinationContext create)
        {
            CreateCoordinationContextMessage message = new CreateCoordinationContextMessage(base.messageVersion, ref create);

            if (create.IssuedToken != null)
            {
                CoordinationServiceSecurity.AddIssuedToken(message, create.IssuedToken);
            }
            return(message);
        }