C# Class ServiceModelContrib.SilverlightFaultMessageInspector

Inheritance: IDispatchMessageInspector
显示文件 Open project: kredinor/ServiceModelContrib Class Usage Examples

Public Methods

Method Description
AfterReceiveRequest ( Message &request, IClientChannel channel, System.ServiceModel.InstanceContext instanceContext ) : object

Called after an inbound message has been received but before the message is dispatched to the intended operation.

BeforeSendReply ( Message &reply, object correlationState ) : void

Called after the operation has returned but before the reply message is sent.

Method Details

AfterReceiveRequest() public method

Called after an inbound message has been received but before the message is dispatched to the intended operation.
public AfterReceiveRequest ( Message &request, IClientChannel channel, System.ServiceModel.InstanceContext instanceContext ) : object
request Message The request message.
channel IClientChannel The incoming channel.
instanceContext System.ServiceModel.InstanceContext The current service instance.
return object

BeforeSendReply() public method

Called after the operation has returned but before the reply message is sent.
public BeforeSendReply ( Message &reply, object correlationState ) : void
reply Message The reply message. This value is null if the operation is one way.
correlationState object The correlation object returned from the method.
return void