System::Net::WebRequest::CreateHttp メソッド
WebRequest::CreateHttp(String) method
指定された URI を使用して WebRequest クラスの新しいインスタンスを作成します。
static System::SharedPtr<HttpWebRequest> System::Net::WebRequest::CreateHttp(String requestUriString)
| パラメーター | 型 | 説明 |
|---|---|---|
| requestUriString | String | 新しい WebRequest クラスのインスタンスを作成するために使用される URI。 |
ReturnValue
新しく作成された WebRequest クラスのインスタンスです。
備考
指定された URI が http:// または https:// 以外のスキームで始まる場合、NotSupportedException がスローされます。
参照
- Typedef SharedPtr
- Class HttpWebRequest
- Class String
- Class WebRequest
- Namespace System::Net
- Library Aspose.Page for C++
WebRequest::CreateHttp(System::SharedPtr<Uri>) method
指定された URI を使用して WebRequest クラスの新しいインスタンスを作成します。
static System::SharedPtr<HttpWebRequest> System::Net::WebRequest::CreateHttp(System::SharedPtr<Uri> requestUri)
| パラメーター | 型 | 説明 |
|---|---|---|
| requestUri | System::SharedPtr<Uri> | 新しい WebRequest クラスのインスタンスを作成するために使用される URI。 |
ReturnValue
新しく作成された WebRequest クラスのインスタンスです。
備考
指定された URI が http:// または https:// 以外のスキームで始まる場合、NotSupportedException がスローされます。
参照
- Typedef SharedPtr
- Class HttpWebRequest
- Class Uri
- Class WebRequest
- Namespace System::Net
- Library Aspose.Page for C++