AppCredentials.TrustServiceUrl Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| TrustServiceUrl(String) |
Verouderd.
Voegt de host of service-url toe aan MicrosoftAppCredentials vertrouwde hosts. |
| TrustServiceUrl(String, DateTime) |
Verouderd.
Voegt de host of service-url toe aan MicrosoftAppCredentials vertrouwde hosts. |
TrustServiceUrl(String)
Let op
TrustServiceUrl is not a required part of the security model.
Voegt de host of service-url toe aan MicrosoftAppCredentials vertrouwde hosts.
[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)
Parameters
- serviceUrl
- String
De service-URL.
- Kenmerken
Opmerkingen
Als de vervaldatum niet wordt opgegeven, zal de vervaldatum DateTime.UtcNow.AddDays(1) zijn.
Van toepassing op
TrustServiceUrl(String, DateTime)
Let op
TrustServiceUrl is not a required part of the security model.
Voegt de host of service-url toe aan MicrosoftAppCredentials vertrouwde hosts.
[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)
Parameters
- serviceUrl
- String
De service-URL.
- expirationTime
- DateTime
De vervaldatum waarin deze service-url niet meer wordt vertrouwd.
- Kenmerken