Compartir a través de


UrlPrefix.Create Método

Definición

Sobrecargas

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)

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

Parámetros

prefix
String

Cadena a partir de la UrlPrefix que se creará .

Devoluciones

Se aplica a

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

Parámetros

scheme
String

http o https. Se normalizará en minúsculas.

host
String

+, *, IPv4, [IPv6] o un nombre DNS. Http.Sys no permite punycode (xn--), use Unicode en su lugar.

portValue
Nullable<Int32>

Si está vacío, se usará el puerto predeterminado para el esquema especificado (80 o 443).

path
String

Debe comenzar y terminar con "/", aunque se agregará una barra diagonal final que falta. Este valor debe estar sin escape.

Devoluciones

Se aplica a

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

Parámetros

scheme
String

http o https. Se normalizará en minúsculas.

host
String

+, *, IPv4, [IPv6] o un nombre DNS. Http.Sys no permite punycode (xn--), use Unicode en su lugar.

port
String

Si está vacío, se usará el puerto predeterminado para el esquema especificado (80 o 443).

path
String

Debe comenzar y terminar con "/", aunque se agregará una barra diagonal final que falta. Este valor debe estar sin escape.

Devoluciones

Se aplica a