DiscoveryClient.ICommunicationObject.BeginOpen Metoda

Definice

Spustí asynchronní operaci pro otevření objektu komunikace.

Přetížení

ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

Spustí asynchronní operaci pro otevření objektu komunikace v zadaném časovém intervalu.

ICommunicationObject.BeginOpen(AsyncCallback, Object)

Spustí asynchronní operaci pro otevření objektu komunikace.

ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

Spustí asynchronní operaci pro otevření objektu komunikace v zadaném časovém intervalu.

 virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginOpen;
IAsyncResult ICommunicationObject.BeginOpen (TimeSpan timeout, AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
Function BeginOpen (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginOpen

Parametry

timeout
TimeSpan

TimeSpanUrčuje, jak dlouho před vypršením časového limitu musí být operace odeslání dokončena.

callback
AsyncCallback

AsyncCallbackDelegát, který obdrží oznámení o dokončení asynchronní otevřené operace.

state
Object

Objekt určený aplikací, který obsahuje informace o stavu přidružené k asynchronní operaci otevření.

Návraty

IAsyncResult

IAsyncResult, Který odkazuje na asynchronní operaci otevření.

Implementuje

Platí pro

ICommunicationObject.BeginOpen(AsyncCallback, Object)

Spustí asynchronní operaci pro otevření objektu komunikace.

 virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginOpen(AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginOpen;
IAsyncResult ICommunicationObject.BeginOpen (AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginOpen : AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginOpen : AsyncCallback * obj -> IAsyncResult
Function BeginOpen (callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginOpen

Parametry

callback
AsyncCallback

AsyncCallbackDelegát, který obdrží oznámení o dokončení asynchronní otevřené operace.

state
Object

Objekt určený aplikací, který obsahuje informace o stavu přidružené k asynchronní operaci otevření.

Návraty

IAsyncResult

IAsyncResult, Který odkazuje na asynchronní operaci otevření.

Implementuje

Platí pro