Condividi tramite


FunctionWorkerException Constructors

Definition

Overloads

FunctionWorkerException(String)

Initializes a new instance of the FunctionWorkerException class with a specified error message.

FunctionWorkerException(String, Exception)

Initializes a new instance of the FunctionWorkerException class with a specified error message and a reference to the inner exception that is thecause of this exception.

FunctionWorkerException(String)

Source:
FunctionWorkerException.cs

Initializes a new instance of the FunctionWorkerException class with a specified error message.

public FunctionWorkerException (string? message);
new Microsoft.Azure.Functions.Worker.FunctionWorkerException : string -> Microsoft.Azure.Functions.Worker.FunctionWorkerException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

FunctionWorkerException(String, Exception)

Source:
FunctionWorkerException.cs

Initializes a new instance of the FunctionWorkerException class with a specified error message and a reference to the inner exception that is thecause of this exception.

public FunctionWorkerException (string? message, Exception? innerException);
new Microsoft.Azure.Functions.Worker.FunctionWorkerException : string * Exception -> Microsoft.Azure.Functions.Worker.FunctionWorkerException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception or a null reference if no inner exception is specified..

Applies to