共用方式為


AppCredentials.IsTrustedServiceUrl(String) 方法

定義

警告

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。

屬性

適用於