Editar

Compartilhar via


IMetadataExchange.BeginGet(Message, AsyncCallback, Object) Method

Definition

Starts an asynchronous retrieval of metadata.

public:
 IAsyncResult ^ BeginGet(System::ServiceModel::Channels::Message ^ request, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(Action="http://schemas.xmlsoap.org/ws/2004/09/transfer/Get", AsyncPattern=true, ReplyAction="http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse")]
public IAsyncResult BeginGet (System.ServiceModel.Channels.Message request, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(Action="http://schemas.xmlsoap.org/ws/2004/09/transfer/Get", AsyncPattern=true, ReplyAction="http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse")>]
abstract member BeginGet : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginGet (request As Message, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

request
Message

A Message that should be processed to determine the metadata to return.

callback
AsyncCallback

An AsyncCallback that points to the method that will process the metadata.

state
Object

Any data which allows the caller to determine which asynchronous call is being returned.

Returns

An IAsyncResult that can be passed to the EndGet(IAsyncResult) method.

Attributes

Applies to