AppCredentials.IsTrustedServiceUrl(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
IsTrustedServiceUrl is not a required part of the security model.
檢查服務 URL 是否為受信任的主機。
[System.Obsolete("IsTrustedServiceUrl is not a required part of the security model.")]
public static bool IsTrustedServiceUrl (string serviceUrl);
[<System.Obsolete("IsTrustedServiceUrl is not a required part of the security model.")>]
static member IsTrustedServiceUrl : string -> bool
Public Shared Function IsTrustedServiceUrl (serviceUrl As String) As Boolean
參數
- serviceUrl
- String
服務 URL。
傳回
如果信任服務 URL 的主機,則為 True;否則為 False。
- 屬性