次の方法で共有


AntiforgeryOptions.CookieName プロパティ

定義

注意事項

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Name.

このプロパティは互換性のために残されていますが、今後のバージョンでは削除される予定です。 推奨される代替手段は、 にあります Cookie

偽造防止システムによって使用される Cookie の名前を指定します。

public:
 property System::String ^ CookieName { System::String ^ get(); void set(System::String ^ value); };
public string CookieName { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Name.")]
public string CookieName { get; set; }
member this.CookieName : string with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Name.")>]
member this.CookieName : string with get, set
Public Property CookieName As String

プロパティ値

属性

注釈

明示的な名前が指定されていない場合、システムは で始まる一意の名前を自動的に生成します DefaultCookiePrefix

適用対象