Partager via


AppCredentials.IsTrustedServiceUrl(String) Méthode

Définition

Attention

IsTrustedServiceUrl is not a required part of the security model.

Vérifie si l’URL du service est destinée ou non à un hôte approuvé.

[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

Paramètres

serviceUrl
String

URL du service.

Retours

True si l’hôte de l’URL du service est approuvé ; Sinon, false.

Attributs

S’applique à