Język

AppCredentials.IsTrustedServiceUrl(String) Metoda

Definicja

Uwaga

IsTrustedServiceUrl is not a required part of the security model.

Sprawdza, czy adres URL usługi jest przeznaczony dla zaufanego hosta, czy nie.

[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

Parametry

serviceUrl
String

Adres URL usługi.

Zwraca

Prawda, jeśli gospodarz adresu URL usługi jest zaufany; W przeciwnym razie nieprawda.

Atrybuty

Dotyczy