Exemplo n.º 1
0
 /// <summary>
 /// BeforeSendReply():  This method will be used to audit the TID information
 /// before sending a request message back to the caller.  [This will call the
 /// associated LifetimeEvents.BeforeSendReply(), which will contain the actual
 /// logic for handling the TID, and performing the audit.]
 /// </summary>
 /// <param name="reply"></param>
 /// <param name="correlationState"></param>
 public void BeforeSendReply(ref System.ServiceModel.Channels.Message reply, object correlationState)
 {
     LifetimeEvents.GetInstance().BeforeSendReply(ref reply, correlationState, svcDescription);
 }
Exemplo n.º 2
0
 /// <summary>
 /// AfterReceiveReply():  This method will be used to audit TID information upon
 /// receiving a reply from the service.  [This will call the associated
 /// LifetimeEvents.AfterReceiveReply(), which will contain the actual logic for
 /// handling the TID, and performing the audit.]
 /// </summary>
 /// <param name="reply"></param>
 /// <param name="correlationState"></param>
 void IClientMessageInspector.AfterReceiveReply(ref Message reply, object correlationState)
 {
     LifetimeEvents.GetInstance().AfterReceiveReply(ref reply, correlationState);
 }
Exemplo n.º 3
0
 /// <summary>
 /// AfterReceiveRequest():  This method will be used to audit TID information
 /// upon receiving a message at the service.  [This will call the associated
 /// LifetimeEvents.AfterReceiveRequest(), which will contain the actual logic
 /// for handling the TID, and performing the audit.]
 /// </summary>
 /// <param name="request"></param>
 /// <param name="channel"></param>
 /// <param name="instanceContext"></param>
 /// <returns></returns>
 public object AfterReceiveRequest(ref System.ServiceModel.Channels.Message request, IClientChannel channel, InstanceContext instanceContext)
 {
     return(LifetimeEvents.GetInstance().AfterReceiveRequest(ref request, channel, instanceContext, svcDescription));
 }
Exemplo n.º 4
0
 /// <summary>
 /// BeforeSendRequest():  This method will be used to audit the TID information
 /// before sending a request to the service.  [This will call the associated
 /// LifetimeEvents.BeforeSendRequest(), which will contain the actual logic for
 /// handling the TID, and performing the audit.]
 /// </summary>
 /// <param name="request"></param>
 /// <param name="channel"></param>
 /// <returns></returns>
 object IClientMessageInspector.BeforeSendRequest(ref Message request, IClientChannel channel)
 {
     return(LifetimeEvents.GetInstance().BeforeSendRequest(ref request, channel, svcEndpoint));
 }