语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

FunctionWorkerException Constructors

Definition

Overloads

Name Description
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