Expand Minimize

WsGetFaultErrorProperty function

Retrieves a Fault error property of an WS_ERROR object referenced by the error parameter.

Syntax


HRESULT WINAPI  WsGetFaultErrorProperty(
  _In_  WS_ERROR* error,
  _In_  WS_FAULT_ERROR_PROPERTY_ID id,
  void* buffer,
  _In_  ULONG bufferSize
);

Parameters

error [in]

A pointer to the WS_ERROR object with the property to retrieve.

id [in]

Represents an identifier of the fault error property to retrieve.

buffer

A pointer referencing the location to store the retrieved fault error property.

Note  The pointer must have an alignment compatible with the type of the property.

bufferSize [in]

The number of bytes allocated by the caller to store the retrieved property.

Return value

This function can return one of these values.

Return codeDescription
E_INVALIDARG

The property id was not supported for this object or the specified buffer was not large enough for the value.

Other Errors

This function may return other errors not listed above.

 

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

Library

WebServices.lib

DLL

WebServices.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.