HttpGetClientProtocol コンストラクタとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > HttpGetClientProtocol コンストラクタの意味・解説 

HttpGetClientProtocol コンストラクタ

HttpGetClientProtocol クラス新しインスタンス初期化します。

名前空間: System.Web.Services.Protocols
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Dim instance As New HttpGetClientProtocol
public HttpGetClientProtocol ()
public:
HttpGetClientProtocol ()
public HttpGetClientProtocol ()
public function HttpGetClientProtocol ()
使用例使用例
' Math is a proxy class derived from HttpGetClientProtocol.
Dim myHttpGetClientProtocol As New
 Math()

' Obtain password from a secure store.
Dim SecurelyStoredPassword As String
 = String.Empty

' Set the client-side credentials using the Credentials property.
Dim credentials = _
    New NetworkCredential("Joe",
 "mydomain", SecurelyStoredPassword)
myHttpGetClientProtocol.Credentials = credentials

' Allow the server to redirect the request.
myHttpGetClientProtocol.AllowAutoRedirect = True
Console.WriteLine("Auto redirect is: " _
    & myHttpGetClientProtocol.AllowAutoRedirect)
        // Math is a proxy class derived from HttpGetClientProtocol.
        HttpGetClientProtocol myHttpGetClientProtocol = new Math();

        // Obtain password from a secure store.
        String SecurelyStoredPassword = String.Empty;

        // Set the client-side credentials using the Credentials property.
        ICredentials credentials = 
            new NetworkCredential("Joe", "mydomain",
 SecurelyStoredPassword);
        myHttpGetClientProtocol.Credentials = credentials;
        Console.WriteLine("Auto redirect is: "
            + myHttpGetClientProtocol.AllowAutoRedirect);
    }
}

   // Math is a proxy class derived from HttpGetClientProtocol.
   HttpGetClientProtocol^ myHttpGetClientProtocol = gcnew ::Math;
   
   // Obtain password from a secure store.
   String^ SecurelyStoredPassword = String::Empty;
   
   // Set the client-side credentials using the Credentials property.
   ICredentials^ credentials = gcnew NetworkCredential( "Joe","mydomain",SecurelyStoredPassword
 );
   myHttpGetClientProtocol->Credentials = credentials;
   Console::WriteLine( "Auto redirect is: {0}", myHttpGetClientProtocol->AllowAutoRedirect
 );
}

        // Math is a proxy class derived from HttpGetClientProtocol.
        HttpGetClientProtocol myHttpGetClientProtocol = new Math();
      
        // Obtain password from a secure store.
        String securelyStoredPassword = String.Empty;
      
        // Set the client-side credentials using the Credentials property.
        ICredentials credentials = new NetworkCredential("Joe",
 "mydomain",
            securelyStoredPassword);
        myHttpGetClientProtocol.set_Credentials(credentials);
        Console.WriteLine("Auto redirect is: " 
            + myHttpGetClientProtocol.get_AllowAutoRedirect());
        
    } //main
} //HttpGetClientProtocolClass
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
HttpGetClientProtocol クラス
HttpGetClientProtocol メンバ
System.Web.Services.Protocols 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「HttpGetClientProtocol コンストラクタ」の関連用語

HttpGetClientProtocol コンストラクタのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



HttpGetClientProtocol コンストラクタのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS