ExchangeServiceBase.InternalProcessHttpErrorResponse method
Manages and traces error responses from Exchange Web Services (EWS).
The InternalProcessHttpErrorResponse(IEwsHttpWebResponse, WebException, TraceFlags, TraceFlags) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Namespace: Microsoft.Exchange.WebServices.Data
Assembly: Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
Syntax
'Declaration
Protected Sub InternalProcessHttpErrorResponse ( _
httpWebResponse As IEwsHttpWebResponse, _
webException As WebException, _
responseHeadersTraceFlag As TraceFlags, _
responseTraceFlag As TraceFlags _
)
'Usage
Dim httpWebResponse As IEwsHttpWebResponse
Dim webException As WebException
Dim responseHeadersTraceFlag As TraceFlags
Dim responseTraceFlag As TraceFlags
Me.InternalProcessHttpErrorResponse(httpWebResponse, _
webException, responseHeadersTraceFlag, _
responseTraceFlag)
protected void InternalProcessHttpErrorResponse(
IEwsHttpWebResponse httpWebResponse,
WebException webException,
TraceFlags responseHeadersTraceFlag,
TraceFlags responseTraceFlag
)
Parameters
httpWebResponse
Type: Microsoft.Exchange.WebServices.Data.IEwsHttpWebResponseThe response from EWS.
webException
Type: System.Net.WebExceptionThe exception returned with the response.
responseHeadersTraceFlag
Type: Microsoft.Exchange.WebServices.Data.TraceFlagsA value that indicates trace handling for response headers.
responseTraceFlag
Type: Microsoft.Exchange.WebServices.Data.TraceFlagsA value that indicates trace handling for the response.