DataProtectionBuilderExtensions.SetApplicationName メソッド

定義

データ保護システム内のこのアプリケーションの一意の名前を設定します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ SetApplicationName(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, System::String ^ applicationName);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder SetApplicationName (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, string applicationName);
static member SetApplicationName : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function SetApplicationName (builder As IDataProtectionBuilder, applicationName As String) As IDataProtectionBuilder

パラメーター

applicationName
String

アプリケーション名です。

戻り値

この操作が完了した後の への IDataProtectionBuilder 参照。

注釈

この API は、 プロパティを の ApplicationDiscriminatorapplicationNameに設定する場合に対応します。

適用対象