Language

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はもはや信用されなくなる有効期限を過ぎます。

属性

適用対象