UrlPrefix.Create Methode

Definition

Überlädt

Create(String)

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

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)

Quelle:
UrlPrefix.cs
Quelle:
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

Parameter

prefix
String

Die Zeichenfolge, aus der erstellt UrlPrefix wird.

Gibt zurück

Gilt für:

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

Quelle:
UrlPrefix.cs
Quelle:
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

Parameter

scheme
String

HTTP oder HTTPS. Wird in Kleinbuchstaben normalisiert.

host
String

+, *, IPv4, [IPv6] oder ein DNS-Name. Http.Sys keinen Punycode (xn--) zulässt, verwenden Sie stattdessen Unicode.

portValue
Nullable<Int32>

Wenn leer, wird der Standardport für das angegebene Schema verwendet (80 oder 443).

path
String

Sollte mit einem "/" beginnen und enden, obwohl ein fehlender nachgestellter Schrägstrich hinzugefügt wird. Dieser Wert muss nicht mit escaped versehen sein.

Gibt zurück

Gilt für:

Create(String, String, String, String)

Quelle:
UrlPrefix.cs
Quelle:
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

Parameter

scheme
String

HTTP oder HTTPS. Wird in Kleinbuchstaben normalisiert.

host
String

+, *, IPv4, [IPv6] oder ein DNS-Name. Http.Sys keinen Punycode (xn--) zulässt, verwenden Sie stattdessen Unicode.

port
String

Wenn leer, wird der Standardport für das angegebene Schema verwendet (80 oder 443).

path
String

Sollte mit einem "/" beginnen und enden, obwohl ein fehlender nachgestellter Schrägstrich hinzugefügt wird. Dieser Wert muss nicht mit escaped versehen sein.

Gibt zurück

Gilt für: