IInputChannel.EndWaitForMessage(IAsyncResult) Methode

Definitie

Hiermee voltooit u de opgegeven asynchrone wait-for-a-message-bewerking.

public:
 bool EndWaitForMessage(IAsyncResult ^ result);
public bool EndWaitForMessage(IAsyncResult result);
abstract member EndWaitForMessage : IAsyncResult -> bool
Public Function EndWaitForMessage (result As IAsyncResult) As Boolean

Parameters

result
IAsyncResult

De IAsyncResult bewerking die BeginWaitForMessage(TimeSpan, AsyncCallback, Object) moet worden voltooid en waaruit een eindresultaat moet worden opgehaald.

Retouren

true als er een bericht is aangekomen voordat het timeout is overschreden; anders false.

Voorbeelden

De volgende code illustreert hoe u deze methode implementeert:

public bool EndWaitForMessage(IAsyncResult result)
{
    return this.InnerChannel.EndWaitForMessage(result);
}

Van toepassing op