ErrorOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ErrorOptions controls the behavior of an operation when an unexpected response status code is received.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum ErrorOptions
[<System.Flags>]
type ErrorOptions =
Public Enum ErrorOptions
- Inheritance
-
ErrorOptions
- Attributes
Fields
Default | 0 | Indicates that an operation should throw an exception when the response indicates a failure. |
NoThrow | 1 | 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. |
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk