This topic has not yet been rated - Rate this topic

RequestContext.Reply Method (Message, TimeSpan)

When overridden in a derived class, replies to a request message within a specified interval of time.

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

public abstract void Reply (
	Message message,
	TimeSpan timeout
)
public abstract void Reply (
	Message message, 
	TimeSpan timeout
)
public abstract function Reply (
	message : Message, 
	timeout : TimeSpan
)
Not applicable.

Parameters

message

The incoming Message that contains the request.

timeout

The Timespan that specifies the interval of time to wait for the reply to a 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.