AppCredentials.IsTrustedServiceUrl(String) Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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