Поделиться через


AppCredentials.TrustServiceUrl Метод

Определение

Перегрузки

TrustServiceUrl(String)
Устаревшие..

Добавляет URL-адрес узла службы к доверенным MicrosoftAppCredentials узлам.

TrustServiceUrl(String, DateTime)
Устаревшие..

Добавляет URL-адрес узла службы к доверенным MicrosoftAppCredentials узлам.

TrustServiceUrl(String)

Внимание!

TrustServiceUrl is not a required part of the security model.

Добавляет URL-адрес узла службы к доверенным MicrosoftAppCredentials узлам.

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

Параметры

serviceUrl
String

URL-адрес службы.

Атрибуты

Комментарии

Если время окончания срока действия не указано, срок действия будет dateTime.UtcNow.AddDays(1).

Применяется к

TrustServiceUrl(String, DateTime)

Внимание!

TrustServiceUrl is not a required part of the security model.

Добавляет URL-адрес узла службы к доверенным MicrosoftAppCredentials узлам.

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

Параметры

serviceUrl
String

URL-адрес службы.

expirationTime
DateTime

Время окончания срока действия, по истечении которого этот URL-адрес службы больше не является доверенным.

Атрибуты

Применяется к