Share via


IWSDiscoveredService::GetMetadataVersion (Compact 2013)

3/26/2014

This method retrieves the metadata version of this message.

Syntax

HRESULT GetMetadataVersion(
  ULONGLONG* pullMetadataVersion
);

Parameters

  • pullMetadataVersion
    [out] Metadata version of this message.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This method completed successfully.

E_POINTER

pullMetadataVersion is NULL.

Remarks

Versioning is used to determine if metadata exchange should be performed again due to a state change on the device.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDiscoveredService
Web Services on Devices Interfaces