IWSDServiceProxy::EndGetMetadata method (wsdclient.h)

Completes the asynchronous metadata exchange request and retrieves the service metadata from the response.

Syntax

HRESULT EndGetMetadata(
  [in]  IWSDAsyncResult           *pResult,
  [out] WSD_METADATA_SECTION_LIST **ppMetadata
);

Parameters

[in] pResult

An IWSDAsyncResult interface that represents the result of the request. Release this object when done.

[out] ppMetadata

Requested metadata. For details, see WSD_METADATA_SECTION_LIST. Do not release this object.

Return value

Possible return values include, but are not limited to, the following:

Return code Description
S_OK
Method completed successfully.

Remarks

EndGetMetadata may block until the metadata retrieval operation has completed.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsdclient.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDServiceProxy