UrlPrefix.Create 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Create(String)
- Source:
- UrlPrefix.cs
- Source:
- UrlPrefix.cs
- Source:
- UrlPrefix.cs
public:
static Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^ Create(System::String ^ prefix);
public static Microsoft.AspNetCore.Server.HttpSys.UrlPrefix Create (string prefix);
static member Create : string -> Microsoft.AspNetCore.Server.HttpSys.UrlPrefix
Public Shared Function Create (prefix As String) As UrlPrefix
매개 변수
반환
적용 대상
Create(String, String, Nullable<Int32>, String)
- Source:
- UrlPrefix.cs
- Source:
- UrlPrefix.cs
- Source:
- UrlPrefix.cs
public:
static Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^ Create(System::String ^ scheme, System::String ^ host, Nullable<int> portValue, System::String ^ path);
public static Microsoft.AspNetCore.Server.HttpSys.UrlPrefix Create (string scheme, string host, int? portValue, string path);
static member Create : string * string * Nullable<int> * string -> Microsoft.AspNetCore.Server.HttpSys.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--)를 허용하지 않고 유니코드를 대신 사용합니다.
- path
- String
누락된 후행 슬래시가 추가되지만 '/'로 시작하고 끝나야 합니다. 이 값은 이스케이프되지 않아야 합니다.
반환
적용 대상
Create(String, String, String, String)
- Source:
- UrlPrefix.cs
- Source:
- UrlPrefix.cs
- Source:
- UrlPrefix.cs
public:
static Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^ Create(System::String ^ scheme, System::String ^ host, System::String ^ port, System::String ^ path);
public static Microsoft.AspNetCore.Server.HttpSys.UrlPrefix Create (string scheme, string host, string port, string path);
static member Create : string * string * string * string -> Microsoft.AspNetCore.Server.HttpSys.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
누락된 후행 슬래시가 추가되지만 '/'로 시작하고 끝나야 합니다. 이 값은 이스케이프되지 않아야 합니다.