Sdílet prostřednictvím


AppCredentials.TrustServiceUrl Metoda

Definice

Přetížení

TrustServiceUrl(String)
Zastaralé.

Přidá hostitele adresy URL služby k důvěryhodným MicrosoftAppCredentials hostitelům.

TrustServiceUrl(String, DateTime)
Zastaralé.

Přidá hostitele adresy URL služby k důvěryhodným MicrosoftAppCredentials hostitelům.

TrustServiceUrl(String)

Upozornění

TrustServiceUrl is not a required part of the security model.

Přidá hostitele adresy URL služby k důvěryhodným MicrosoftAppCredentials hostitelům.

[System.Obsolete("TrustServiceUrl is not a required part of the security model.")]
public static void TrustServiceUrl (string serviceUrl);
[<System.Obsolete("TrustServiceUrl is not a required part of the security model.")>]
static member TrustServiceUrl : string -> unit
Public Shared Sub TrustServiceUrl (serviceUrl As String)

Parametry

serviceUrl
String

Adresa URL služby.

Atributy

Poznámky

Pokud není čas vypršení platnosti zadán, bude čas vypršení platnosti DateTime.UtcNow.AddDays(1).

Platí pro

TrustServiceUrl(String, DateTime)

Upozornění

TrustServiceUrl is not a required part of the security model.

Přidá hostitele adresy URL služby k důvěryhodným MicrosoftAppCredentials hostitelům.

[System.Obsolete("TrustServiceUrl is not a required part of the security model.")]
public static void TrustServiceUrl (string serviceUrl, DateTime expirationTime);
[<System.Obsolete("TrustServiceUrl is not a required part of the security model.")>]
static member TrustServiceUrl : string * DateTime -> unit
Public Shared Sub TrustServiceUrl (serviceUrl As String, expirationTime As DateTime)

Parametry

serviceUrl
String

Adresa URL služby.

expirationTime
DateTime

Doba vypršení platnosti, po jejímž uplynutí už není tato adresa URL služby důvěryhodná.

Atributy

Platí pro