IWSDiscoveryProvider::GetXMLContext method (wsddisco.h)
Gets the XML context associated with this provider.
Syntax
HRESULT GetXMLContext(
[out] IWSDXMLContext **ppContext
);
Parameters
[out] ppContext
Pointer to a pointer variable containing the XML context.
Return value
Possible return values include, but are not limited to, the following:
Return code | Description |
---|---|
|
Method completed successfully. |
|
ppContext is NULL. |
|
The discovery provider has not been created. Call WSDCreateDiscoveryProvider to create a provider. |
Remarks
Returns an optional context for the XML state of the transaction. If the service layer is used then this should be the context the XML namespaces and types were registered with.
Note Attach must be called before any other IWSDiscoveryProvider method is used.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wsddisco.h (include Wsdapi.h) |
DLL | Wsdapi.dll |