次の方法で共有


DataServiceClientException コンストラクター (String, Exception, Int32)

DataServiceClientException クラスの新しいインスタンスを初期化します。

名前空間:  System.Data.Services.Client
アセンブリ:  Microsoft.Data.Services.Client (Microsoft.Data.Services.Client.dll)

構文

'宣言
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    statusCode As Integer _
)
'使用
Dim message As String
Dim innerException As Exception
Dim statusCode As Integer

Dim instance As New DataServiceClientException(message, _
    innerException, statusCode)
public DataServiceClientException(
    string message,
    Exception innerException,
    int statusCode
)
public:
DataServiceClientException(
    String^ message, 
    Exception^ innerException, 
    int statusCode
)
new : 
        message:string * 
        innerException:Exception * 
        statusCode:int -> DataServiceClientException
public function DataServiceClientException(
    message : String, 
    innerException : Exception, 
    statusCode : int
)

パラメーター

  • message
    型: System.String
    エラー メッセージを含む文字列値。
  • innerException
    型: System.Exception
    内部例外が含まれている System.Exception オブジェクト。
  • statusCode
    型: System.Int32
    ステータス コードを含む整数値。

関連項目

参照

DataServiceClientException クラス

DataServiceClientException オーバーロード

System.Data.Services.Client 名前空間