次の方法で共有


HandleExceptionArgs.ResponseStatusCode プロパティ

データ サービスでエラーが発生したときに応答の HTTP ヘッダー セクションとして返されるステータス コードを取得します。

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

構文

'宣言
Public ReadOnly Property ResponseStatusCode As Integer
    Get
'使用
Dim instance As HandleExceptionArgs
Dim value As Integer

value = instance.ResponseStatusCode
public int ResponseStatusCode { get; }
public:
property int ResponseStatusCode {
    int get ();
}
member ResponseStatusCode : int
function get ResponseStatusCode () : int

プロパティ値

型: System.Int32
HTTP 応答のステータス コードの整数値。

関連項目

参照

HandleExceptionArgs クラス

System.Data.Services 名前空間