FederationMessage.GetBaseUrl(Uri) 方法
定义
从指定的 URI 提取基 URL 的帮手器方法。Helper method that extracts the base URL from the specified URI.
public:
static Uri ^ GetBaseUrl(Uri ^ uri);
public static Uri GetBaseUrl (Uri uri);
static member GetBaseUrl : Uri -> Uri
Public Shared Function GetBaseUrl (uri As Uri) As Uri
参数
- uri
- Uri
从中提取基 URL 的 URI。The URI from which to extract the base URL.
返回
提取的基 URL。The base URL that was extracted.
注解
返回的 URL 是不带查询字符串的原始 URL。The URL returned is the original URL without the query string.