Språk

AppCredentials.TrustServiceUrl Metod

Definition

Överlagringar

Name Description
TrustServiceUrl(String)
Föråldrad.

Lägger till värdens service-URL till MicrosoftAppCredentials betrodda värdar.

TrustServiceUrl(String, DateTime)
Föråldrad.

Lägger till värdens service-URL till MicrosoftAppCredentials betrodda värdar.

TrustServiceUrl(String)

Varning

TrustServiceUrl is not a required part of the security model.

Lägger till värdens service-URL till MicrosoftAppCredentials betrodda värdar.

[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)

Parametrar

serviceUrl
String

Tjänstens URL.

Attribut

Kommentarer

Om utgångstid inte anges kommer utgångstiden att DateTime.UtcNow.AddDays(1).

Gäller för

TrustServiceUrl(String, DateTime)

Varning

TrustServiceUrl is not a required part of the security model.

Lägger till värdens service-URL till MicrosoftAppCredentials betrodda värdar.

[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)

Parametrar

serviceUrl
String

Tjänstens URL.

expirationTime
DateTime

Den utgångstid efter vilken denna service-url inte längre är betrodd.

Attribut

Gäller för