MetadataExchangeClient.BeginGetMetadata Method

Definition

Begins an asynchronous method call that returns a MetadataSet.

Overloads

BeginGetMetadata(AsyncCallback, Object)

Begins an asynchronous method call that returns a MetadataSet.

BeginGetMetadata(EndpointAddress, AsyncCallback, Object)

Begins an asynchronous method call that returns a MetadataSet using the specified address, callback, and asynchronous state.

BeginGetMetadata(Uri, MetadataExchangeClientMode, AsyncCallback, Object)

Begins an asynchronous method call that returns a MetadataSet using the specified address, callback, asynchronous state, and download mechanism.

Remarks

Begins an asynchronous implementation of the GetMetadata methods.

BeginGetMetadata(AsyncCallback, Object)

Begins an asynchronous method call that returns a MetadataSet.

public:
 IAsyncResult ^ BeginGetMetadata(AsyncCallback ^ callback, System::Object ^ asyncState);
public IAsyncResult BeginGetMetadata (AsyncCallback callback, object asyncState);
member this.BeginGetMetadata : AsyncCallback * obj -> IAsyncResult
Public Function BeginGetMetadata (callback As AsyncCallback, asyncState As Object) As IAsyncResult

Parameters

callback
AsyncCallback

The asynchronous callback delegate invoked when the call is complete.

asyncState
Object

The state associated with the asynchronous call.

Returns

IAsyncResult

The metadata.

Remarks

An asynchronous implementation of the GetMetadata method.

Applies to

BeginGetMetadata(EndpointAddress, AsyncCallback, Object)

Begins an asynchronous method call that returns a MetadataSet using the specified address, callback, and asynchronous state.

public:
 IAsyncResult ^ BeginGetMetadata(System::ServiceModel::EndpointAddress ^ address, AsyncCallback ^ callback, System::Object ^ asyncState);
public IAsyncResult BeginGetMetadata (System.ServiceModel.EndpointAddress address, AsyncCallback callback, object asyncState);
member this.BeginGetMetadata : System.ServiceModel.EndpointAddress * AsyncCallback * obj -> IAsyncResult
Public Function BeginGetMetadata (address As EndpointAddress, callback As AsyncCallback, asyncState As Object) As IAsyncResult

Parameters

address
EndpointAddress

The address of the metadata.

callback
AsyncCallback

The asynchronous callback delegate invoked when the call is complete.

asyncState
Object

The state associated with the asynchronous call.

Returns

IAsyncResult

The metadata obtained from the specified address.

Remarks

An asynchronous implementation of the GetMetadata method.

Applies to

BeginGetMetadata(Uri, MetadataExchangeClientMode, AsyncCallback, Object)

Begins an asynchronous method call that returns a MetadataSet using the specified address, callback, asynchronous state, and download mechanism.

public:
 IAsyncResult ^ BeginGetMetadata(Uri ^ address, System::ServiceModel::Description::MetadataExchangeClientMode mode, AsyncCallback ^ callback, System::Object ^ asyncState);
public IAsyncResult BeginGetMetadata (Uri address, System.ServiceModel.Description.MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState);
member this.BeginGetMetadata : Uri * System.ServiceModel.Description.MetadataExchangeClientMode * AsyncCallback * obj -> IAsyncResult
Public Function BeginGetMetadata (address As Uri, mode As MetadataExchangeClientMode, callback As AsyncCallback, asyncState As Object) As IAsyncResult

Parameters

address
Uri

The address of the metadata.

mode
MetadataExchangeClientMode

The MetadataExchangeClientMode value to use when downloading the metadata.

callback
AsyncCallback

The asynchronous callback delegate invoked when the call is complete.

asyncState
Object

The state associated with the asynchronous call.

Returns

IAsyncResult

The metadata obtained from the specified address.

Remarks

An asynchronous implementation of the GetMetadata method.

Applies to