Show / Hide Table of Contents

Enum ErrorOptions

ErrorOptions controls the behavior of an operation when an unexpected response status code is received.

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Core.dll
Syntax
[System.Flags]
public enum ErrorOptions

Default

Indicates that an operation should throw an exception when the response indicates a failure.

NoThrow

Indicates that an operation should not throw an exception when the response indicates a failure. Callers should check the Response.IsError property instead of catching exceptions.

Back to top Azure SDK for .NET