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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET