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--)를 허용하지 않고 유니코드를 대신 사용합니다.

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--)를 허용하지 않고 유니코드를 대신 사용합니다.

port
String

비어 있는 경우 지정된 스키마의 기본 포트가 사용됩니다(80 또는 443).

path
String

누락된 후행 슬래시가 추가되지만 '/'로 시작하고 끝나야 합니다. 이 값은 이스케이프되지 않아야 합니다.

반환

적용 대상