ConversionResult Struct
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.
A type representing the result of function input conversion operation.
public readonly struct ConversionResult
type ConversionResult = struct
Public Structure ConversionResult
- Inheritance
-
ConversionResult
Properties
Error |
Gets the error which caused the conversion to fail. |
Status |
Gets the status of the conversion. |
Value |
Gets the value produced from the conversion if it was successful. |
Methods
Failed(Exception) |
Creates a new ConversionResult instance to represent a failed input conversion. |
Success(Object) |
Creates a new ConversionResult instance to represent a successful input conversion. |
Unhandled() |
Creates a new ConversionResult instance to represent an unhandled input conversion. |
Applies to
Azure SDK for .NET