DataServiceException クラスの新しいインスタンスを初期化します。
名前空間: System.Data.Services
アセンブリ: Microsoft.Data.Services (Microsoft.Data.Services.dll)
構文
'宣言
Public Sub New ( _
statusCode As Integer, _
errorCode As String, _
message As String, _
messageXmlLang As String, _
innerException As Exception _
)
'使用
Dim statusCode As Integer
Dim errorCode As String
Dim message As String
Dim messageXmlLang As String
Dim innerException As Exception
Dim instance As New DataServiceException(statusCode, _
errorCode, message, messageXmlLang, _
innerException)
public DataServiceException(
int statusCode,
string errorCode,
string message,
string messageXmlLang,
Exception innerException
)
public:
DataServiceException(
int statusCode,
String^ errorCode,
String^ message,
String^ messageXmlLang,
Exception^ innerException
)
new :
statusCode:int *
errorCode:string *
message:string *
messageXmlLang:string *
innerException:Exception -> DataServiceException
public function DataServiceException(
statusCode : int,
errorCode : String,
message : String,
messageXmlLang : String,
innerException : Exception
)
パラメーター
- statusCode
型: System.Int32
例外の HTTP ステータス コード。
- errorCode
型: System.String
エラー コードを表す文字列値。
- message
型: System.String
エラー メッセージを表す文字列値。
- messageXmlLang
型: System.String
エラー メッセージの言語を表す文字列値。
- innerException
型: System.Exception
現在の例外の原因である例外。