public void InitializeContextAndCallbackContext()
 {
     this.CorrelationCallbackContext = MessagingActivityHelper.CreateCorrelationCallbackContext(this.CorrelationRequestContext.Reply.Properties);
     this.CorrelationContext         = MessagingActivityHelper.CreateCorrelationContext(this.CorrelationRequestContext.Reply.Properties);
 }
 public ReceiveMessageInstanceData(System.ServiceModel.Activities.CorrelationResponseContext responseContext)
 {
     this.CorrelationResponseContext = responseContext;
     this.CorrelationCallbackContext = MessagingActivityHelper.CreateCorrelationCallbackContext(responseContext.WorkflowOperationContext.OperationContext.IncomingMessageProperties);
 }