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, object asyncState);

Parameters

callback
AsyncCallback

The asynchronous callback delegate invoked when the call is complete.

asyncState
Object

The state associated with the asynchronous call.

Returns

The metadata.

Remarks

An asynchronous implementation of the GetMetadata method.

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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, object asyncState);

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

The metadata obtained from the specified address.

Remarks

An asynchronous implementation of the GetMetadata method.

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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, object asyncState);

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

The metadata obtained from the specified address.

Remarks

An asynchronous implementation of the GetMetadata method.

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1