Enum ClientErrorBehaviors
ClientErrorBehaviors controls the behavior of a service method when an unexpected response status code is received.
Namespace: System.Dynamic.ExpandoObject
Assembly: System.ClientModel.dll
Syntax
[System.Flags]
public enum ClientErrorBehaviors
Default
The client will throw an exception from a service method if the service returns an error response.
NoThrow
The client will not throw an exception from a service method if the service returns an error response. Callers of the service method must check the Response.IsError property before accessing the response content.