Enables inspection or modification of a message before a request message is sent to a service.
Namespace: CelloSaaS.BusinessEditionAssembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax
Parameters
- request
- Type: System.ServiceModel.Channels Message
The message to be sent to the service.
- channel
- Type: System.ServiceModel IClientChannel
The Silverlight client object channel.
Return Value
Type: ObjectThe object that is returned as the "correlationState" argument of the AfterReceiveReply(Message , Object) method. This is null if no correlation state is used.The best practice is to make this a Guid to ensure that no two "correlationState" objects are the same.
Implements
IClientMessageInspector BeforeSendRequest(Message , IClientChannel)See Also