IWSDiscoveryProvider::GetXMLContext (Compact 2013)
3/26/2014
This method gets the XML context associated with this provider.
Syntax
HRESULT GetXMLContext(
IWSDXMLContext** ppContext
);
Parameters
- ppContext
[out] Pointer to a pointer variable containing the XML context.
Return Value
The following table shows the possible error code return values.
Error code |
Description |
---|---|
S_OK |
This method completed successfully. |
E_INVALIDARG |
ppContext is NULL. |
E_ABORT |
The discovery provider has not been created. Call WSDCreateDiscoveryProvider to create a provider. |
Remarks
This method 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.
Attach must be called before any other IWSDiscoveryProvider method is used.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |