SessionOptions.CookieSecure プロパティ

定義

注意事項

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

このプロパティは互換性のために残されていますが、今後のバージョンでは削除される予定です。 別の方法をお勧めします。 on Cookie

Cookie を HTTPS 要求のみで送信するかどうかを決定します。

public:
 property Microsoft::AspNetCore::Http::CookieSecurePolicy CookieSecure { Microsoft::AspNetCore::Http::CookieSecurePolicy get(); void set(Microsoft::AspNetCore::Http::CookieSecurePolicy value); };
public Microsoft.AspNetCore.Http.CookieSecurePolicy CookieSecure { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.SecurePolicy.")]
public Microsoft.AspNetCore.Http.CookieSecurePolicy CookieSecure { get; set; }
member this.CookieSecure : Microsoft.AspNetCore.Http.CookieSecurePolicy with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.SecurePolicy.")>]
member this.CookieSecure : Microsoft.AspNetCore.Http.CookieSecurePolicy with get, set
Public Property CookieSecure As CookieSecurePolicy

プロパティ値

CookieSecurePolicy
属性

適用対象