UrlPrefix.Create 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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--)를 허용하지 않고 유니코드를 대신 사용합니다.
- 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
누락된 후행 슬래시가 추가되지만 '/'로 시작하고 끝나야 합니다. 이 값은 이스케이프되지 않아야 합니다.
반환
적용 대상
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기