System::Net::ServicePointManager クラス
コンテンツ
[
隠れる
]ServicePointManager class
ServicePoint クラスのインスタンスのライフサイクル段階(作成、維持、削除)を管理します。このクラスのオブジェクトは System::MakeObject() 関数を使用してのみ割り当てるべきです。スタック上や operator new を使用してこの型のインスタンスを作成しないでください。そうするとランタイムエラーやアサーション違反が発生します。常にこのクラスを System::SmartPtr ポインタでラップし、そのポインタを関数の引数として使用してください。
class ServicePointManager : public System::Object
メソッド
| メソッド | 説明 |
|---|---|
| static get_CertificatePolicy() | 証明書ポリシーを取得します。 |
| static get_CheckCertificateRevocationList() | 証明書を認証局の失効リストと照合する必要があるかどうかを示す値を取得します。 |
| static get_DefaultConnectionLimit() | ServicePoint クラスのインスタンスが許可する同時接続の最大数を取得します。 |
| static get_DnsRefreshTimeout() | DNS 解決が有効とみなされる期間(ミリ秒)のタイムアウトを取得します。 |
| static get_EnableDnsRoundRobin() | DNS 解決が適用可能な IP アドレス間でローテーションするかどうかを示す値を取得します。 |
| static get_EncryptionPolicy() | 現在のインスタンスで使用される暗号化ポリシーを返します。 |
| static get_Expect100Continue() | ServicePoint クラスのインスタンスが 100-Continue 動作を使用するかどうかを示す値を取得します。 |
| static get_MaxServicePointIdleTime() | ServicePoint クラスのインスタンスの最大アイドル時間を取得します。 |
| static get_MaxServicePoints() | 現在のインスタンスが管理できる ServicePoint クラスのインスタンスの最大数を取得します。 |
| static get_ReusePort() | 出力接続ソケットが ‘SO_REUSE_UNICASTPORT’ オプションを使用するかどうかを示す値を取得します。 |
| static get_SecurityProtocol() | 現在のインスタンスが管理する ServicePoint クラスのインスタンスで使用されるセキュリティプロトコルのタイプを取得します。 |
| static get_ServerCertificateValidationCallback() | サーバー証明書の検証に使用されるコールバックを取得します。 |
| static get_UseNagleAlgorithm() | ServicePoint クラスのインスタンスが Nagle アルゴリズムを使用するかどうかを示す値を取得します。 |
| static set_CertificatePolicy(System::SharedPtr<ICertificatePolicy>) | 証明書ポリシーを設定します。 |
| static set_CheckCertificateRevocationList(bool) | 証明書を認証局の失効リストと照合する必要があるかどうかを示す値を設定します。 |
| static set_DefaultConnectionLimit(int32_t) | ServicePoint クラスのインスタンスが許可する同時接続の最大数を設定します。 |
| static set_DnsRefreshTimeout(int32_t) | DNS 解決が有効とみなされる期間(ミリ秒)のタイムアウトを設定します。 |
| static set_EnableDnsRoundRobin(bool) | DNS 解決が適用可能な IP アドレス間でローテーションするかどうかを示す値を設定します。 |
| static set_Expect100Continue(bool) | ServicePoint クラスのインスタンスが 100-Continue 動作を使用するかどうかを示す値を設定します。 |
| static set_MaxServicePointIdleTime(int32_t) | ServicePoint クラスのインスタンスの最大アイドル時間を設定します。 |
| static set_MaxServicePoints(int32_t) | 現在のインスタンスが管理できる ServicePoint クラスのインスタンスの最大数を設定します。 |
| static set_ReusePort(bool) | 出力接続ソケットが ‘SO_REUSE_UNICASTPORT’ オプションを使用するかどうかを示す値を設定します。 |
| static set_SecurityProtocol(SecurityProtocolType) | 現在のインスタンスが管理する ServicePoint クラスのインスタンスで使用されるセキュリティプロトコルのタイプを設定します。 |
| static set_ServerCertificateValidationCallback(Security::RemoteCertificateValidationCallback) | サーバー証明書の検証に使用されるコールバックを設定します。 |
| static set_UseNagleAlgorithm(bool) | ServicePoint クラスのインスタンスが Nagle アルゴリズムを使用するかどうかを示す値を設定します。 |
| static SetTcpKeepAlive(bool, int32_t, int32_t) | ‘Keep-Alive’ オプションが有効かどうかを示す値を設定します。 |
フィールド
| フィールド | 説明 |
|---|---|
| static DefaultNonPersistentConnectionLimit | RTTI 情報。 |
| static DefaultPersistentConnectionLimit | 永続的接続のデフォルト数です。 |
参照
- Class Object
- Namespace System::Net
- Library Aspose.Page for C++