Share via


UrlPrefix.Create メソッド

定義

オーバーロード

Create(String)
Create(String, String, Nullable<Int32>, String)

http://msdn.microsoft.com/en-us/library/windows/desktop/aa364698(v=vs.85).aspx

Create(String, String, String, String)

http://msdn.microsoft.com/en-us/library/windows/desktop/aa364698(v=vs.85).aspx

Create(String)

public:
 static Microsoft::Net::Http::Server::UrlPrefix ^ Create(System::String ^ prefix);
public static Microsoft.Net.Http.Server.UrlPrefix Create (string prefix);
static member Create : string -> Microsoft.Net.Http.Server.UrlPrefix
Public Shared Function Create (prefix As String) As UrlPrefix

パラメーター

prefix
String

戻り値

適用対象

Create(String, String, Nullable<Int32>, String)

public:
 static Microsoft::Net::Http::Server::UrlPrefix ^ Create(System::String ^ scheme, System::String ^ host, Nullable<int> portValue, System::String ^ path);
public static Microsoft.Net.Http.Server.UrlPrefix Create (string scheme, string host, int? portValue, string path);
static member Create : string * string * Nullable<int> * string -> Microsoft.Net.Http.Server.UrlPrefix
Public Shared Function Create (scheme As String, host As String, portValue As Nullable(Of Integer), path As String) As UrlPrefix

パラメーター

scheme
String

http または https 小文字に正規化されます。

host
String

+、*、IPv4、[IPv6]、または dns 名。 Http.Sys では、punycode (xn--) は許可されません。代わりに Unicode を使用してください。

portValue
Nullable<Int32>

空の場合、指定されたスキームの既定のポートが使用されます (80 または 443)。

path
String

先頭と末尾に '/' を付ける必要がありますが、末尾にスラッシュがありませんが追加されます。 この値はエスケープ解除する必要があります。

戻り値

適用対象

Create(String, String, String, String)

public:
 static Microsoft::Net::Http::Server::UrlPrefix ^ Create(System::String ^ scheme, System::String ^ host, System::String ^ port, System::String ^ path);
public static Microsoft.Net.Http.Server.UrlPrefix Create (string scheme, string host, string port, string path);
static member Create : string * string * string * string -> Microsoft.Net.Http.Server.UrlPrefix
Public Shared Function Create (scheme As String, host As String, port As String, path As String) As UrlPrefix

パラメーター

scheme
String

http または https 小文字に正規化されます。

host
String

+、*、IPv4、[IPv6]、または dns 名。 Http.Sys では、punycode (xn--) は許可されません。代わりに Unicode を使用してください。

port
String

空の場合、指定されたスキームの既定のポートが使用されます (80 または 443)。

path
String

先頭と末尾に '/' を付ける必要がありますが、末尾にスラッシュがありませんが追加されます。 この値はエスケープ解除する必要があります。

戻り値

適用対象