Reply Method (Message)
Collapse the table of content
Expand the table of content

RequestContext.Reply Method (Message)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

When overridden in a derived class, replies to a request message.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract void Reply(
	Message message
)

Parameters

message
Type: System.ServiceModel.Channels.Message
The incoming Message that contains the request.

Use Reply when it is acceptable for the current thread to be blocked while it replies to the request message. The thread is blocked up to the specified timeout.

If the application processing must continue without waiting for the reply to complete, use the asynchronous BeginReply method. This method receives notification, through a callback, of the identity of the event handler for the operation. The operation is not complete until either a message becomes available in the channel or the time-out occurs.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft