Soap.SOAPHTTPTrans.ESOAPHTTPException.Create
Delphi
constructor Create(AStatusCode: Integer; const AStatusText, AURL: string); overload;
C++
__fastcall ESOAPHTTPException(int AStatusCode, const System::UnicodeString AStatusText, const System::UnicodeString AURL)/* overload */;
/* Exception.CreateFmt */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : System::Net::Urlclient::ENetException(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall ESOAPHTTPException(NativeUInt Ident)/* overload */ : System::Net::Urlclient::ENetException(Ident) { }
/* Exception.CreateRes */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall ESOAPHTTPException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Net::Urlclient::ENetException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, int AHelpContext) : System::Net::Urlclient::ENetException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : System::Net::Urlclient::ENetException(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall ESOAPHTTPException(NativeUInt Ident, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall ESOAPHTTPException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(Ident, Args, Args_High, AHelpContext) { }
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | Soap.SOAPHTTPTrans.pas Soap.SOAPHTTPTrans.hpp |
Soap.SOAPHTTPTrans | ESOAPHTTPException |
説明
単純なメッセージ文字列を持つ ESOAPHTTPException をインスタンス化します。
Create メソッドを呼び出すと,単純なメッセージ文字列を持つ ESOAPHTTPException オブジェクトを作成できます。
Msg は,例外ダイアログボックスに表示される実行時エラーメッセージが入った文字列です。Msg はハードコード文字列でも,文字列を返す関数呼び出しでもかまいません。
SCode は,この例外を引き起こした HTTP ステータスコードです。このパラメータは,StatusCode プロパティの値になります。