HttpListener.Prefixes プロパティ
アセンブリ: System (system.dll 内)
 構文
構文この HttpListener オブジェクトで処理するように構成されている URI プレフィックスが格納された HttpListenerPrefixCollection。
 例外
例外 解説
解説 使用例
使用例Prefixes プロパティを使用して、処理される URI プレフィックスを取得または出力するコード例を次に示します。
public static void DisplayPrefixesAndState(HttpListener listener) { // List the prefixes to which the server listens. HttpListenerPrefixCollection prefixes = listener.Prefixes; if (prefixes.Count == 0) { Console.WriteLine("There are no prefixes."); } foreach(string prefix in prefixes) { Console.WriteLine(prefix); } // Show the listening state. if (listener.IsListening) { Console.WriteLine("The server is listening."); } }
 プラットフォーム
プラットフォームWindows 98, Windows Server 2003, Windows XP Media Center Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
 バージョン情報
バージョン情報 参照
参照Weblioに収録されているすべての辞書からHttpListener.Prefixes プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からHttpListener.Prefixes プロパティ
                    を検索
                     全ての辞書からHttpListener.Prefixes プロパティ
                    を検索
                - HttpListener.Prefixes プロパティのページへのリンク

 
                             
                    


