ConversionResult.Failed(Exception) Method
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.
Creates a new ConversionResult instance to represent a failed input conversion.
public static Microsoft.Azure.Functions.Worker.Converters.ConversionResult Failed (Exception exception);
static member Failed : Exception -> Microsoft.Azure.Functions.Worker.Converters.ConversionResult
Public Shared Function Failed (exception As Exception) As ConversionResult
Parameters
- exception
- Exception
The exception representing the cause of the failed conversion.
Returns
A new instance of ConversionResult to represent a failed input conversion.
Exceptions
Throws when the exception
argument is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET