IotHubException 构造函数

定义

重载

IotHubException()

Instantiate a new IotHubException with no details.

IotHubException(int errorCode, String message)

Instantiate a new IotHubException.

IotHubException(String message)

Instantiate a new IotHubException.

IotHubException()

Instantiate a new IotHubException with no details.

public IotHubException()

IotHubException(int errorCode, String message)

Instantiate a new IotHubException.

public IotHubException(int errorCode, String message)

参数

errorCode
int

the Http status code (200, 401, 404, etc.)

message
String

the human readable description for why this exception was thrown.

IotHubException(String message)

Instantiate a new IotHubException.

public IotHubException(String message)

参数

message
String

the human readable description for why this exception was thrown.

适用于