(0) exportieren Drucken
Alle erweitern
Dieser Artikel wurde noch nicht bewertet - Dieses Thema bewerten.

IReplyChannel.BeginReceiveRequest-Methode (AsyncCallback, Object)

Begins an asynchronous operation to receive an available request with a default timeout.

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

IAsyncResult BeginReceiveRequest (
	AsyncCallback callback,
	Object state
)
IAsyncResult BeginReceiveRequest (
	AsyncCallback callback, 
	Object state
)
function BeginReceiveRequest (
	callback : AsyncCallback, 
	state : Object
) : IAsyncResult
Nicht zutreffend.

Parameter

callback

The AsyncCallback delegate that receives the notification of the asynchronous receive that a request operation completes.

state

An object, specified by the application, that contains state information associated with the asynchronous receive of a request operation.

Rückgabewert

The IAsyncResult that references the asynchronous reception of the request.

The BeginReceiveRequest(AsyncCallback,Object) method implements the standard pattern for invoking ReceiveRequest asynchronously. The default timeout is 1 minute. If a receive timeout is set on the binding used to configure the connection, then that value is used. Use BeginReceiveRequest(TimeSpan,AsyncCallback,Object) if you want to specify an explicit timeout with the call that overrides these other values.

If the request message received is larger that the maximum message size allowed by the binding being used, a QuotaExceededException is thrown. The maximum message size is set by the MaxReceivedMessageSize property. The default value is 65536 bytes.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 wird unter Windows Vista, Microsoft Windows XP SP2 und Windows Server 2003 SP1 unterstützt.

.NET Framework

Unterstützt in: 3.0
Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)
Vielen Dank für Ihr Feedback.
Anzeigen:
© 2014 Microsoft. Alle Rechte vorbehalten.