AsyncWcfLib

WcfBasicClientAsync.SendOut Method

Send a message to the service. Do not wait here for the response.

The OnWcfMessageReceivedDelegate is called on the same thread,

when a response or errormessage arrives or a timeout has passed.

Overload List

Send a message to the service. Do not wait here for the response.The OnWcfMessageReceivedDelegate is called on the same thread,when a response or errormessage arrives or a timeout has passed.

public WcfReqIdent SendOut(IWcfMessage)

Send a message to the service. Do not wait here for the response.The response is asynchronously passed to the extension method "On", normally used as asyncResponseHandler.If the sending thread has a message queue, the response is executed by the same thread as the send operation was.If the response could not be handled by the On-extension methods, the default OnWcfMessageReceivedDelegate passed to TryConnect() is called.Example:Send (request, rsp => rsp.On<WcfIdleMessage>(idle => {do something with idle message 'idle'}).On<WcfErrorMessage>(err => {do something with error message 'err'}));

public WcfReqIdent SendOut(IWcfMessage,AsyncResponseHandler)

the intuitive action is to send the message to remote service.

public void SendOut(WcfReqIdent)

See Also

WcfBasicClientAsync Class | SourceForge.AsyncWcfLib.Basic Namespace