点击或拖拽改变大小

ObsException 构造函数 (String, Exception, ErrorType, String, String, HttpStatusCode, String)

构造函数。

命名空间:  OBS
程序集:  esdk_obs_.net (在 esdk_obs_.net.dll 中) 版本:3.19.7.1 (3.19.7.1)
语法
C#
public ObsException(
	string message,
	Exception innerException,
	ErrorType errorType,
	string errorCode,
	string requestId,
	HttpStatusCode statusCode,
	string obsId2
)

参数

message
类型:SystemString
OBS服务端错误描述。
innerException
类型:SystemException
导致当前异常的异常。
errorType
类型:OBSErrorType
错误类型。
errorCode
类型:SystemString
OBS服务端错误码。
requestId
类型:SystemString
OBS服务端返回的请求Id。
statusCode
类型:System.NetHttpStatusCode
HTTP状态码。
obsId2
类型:SystemString
标记。
参见