NativeObjectSecurity コンストラクタとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > NativeObjectSecurity コンストラクタの意味・解説 

NativeObjectSecurity コンストラクタ (Boolean, ResourceType)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Protected Sub New ( _
    isContainer As Boolean, _
    resourceType As ResourceType _
)
Dim isContainer As Boolean
Dim resourceType As ResourceType

Dim instance As New NativeObjectSecurity(isContainer,
 resourceType)
protected NativeObjectSecurity (
    bool isContainer,
    ResourceType resourceType
)
protected:
NativeObjectSecurity (
    bool isContainer, 
    ResourceType resourceType
)
protected NativeObjectSecurity (
    boolean isContainer, 
    ResourceType resourceType
)
protected function NativeObjectSecurity (
    isContainer : boolean, 
    resourceType : ResourceType
)

パラメータ

isContainer

新しい NativeObjectSecurity オブジェクトコンテナ オブジェクトである場合true

resourceType

新しNativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトの型。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
NativeObjectSecurity クラス
NativeObjectSecurity メンバ
System.Security.AccessControl 名前空間

NativeObjectSecurity コンストラクタ (Boolean, ResourceType, SafeHandle, AccessControlSections)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。コンストラクタPersist メソッドに渡す includeSections パラメータの値を等しくすることをお勧めます。詳細については、解説参照してください

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Protected Sub New ( _
    isContainer As Boolean, _
    resourceType As ResourceType, _
    handle As SafeHandle, _
    includeSections As AccessControlSections _
)
Dim isContainer As Boolean
Dim resourceType As ResourceType
Dim handle As SafeHandle
Dim includeSections As AccessControlSections

Dim instance As New NativeObjectSecurity(isContainer,
 resourceType, handle, includeSections)
protected NativeObjectSecurity (
    bool isContainer,
    ResourceType resourceType,
    SafeHandle handle,
    AccessControlSections includeSections
)
protected:
NativeObjectSecurity (
    bool isContainer, 
    ResourceType resourceType, 
    SafeHandle^ handle, 
    AccessControlSections includeSections
)
protected NativeObjectSecurity (
    boolean isContainer, 
    ResourceType resourceType, 
    SafeHandle handle, 
    AccessControlSections includeSections
)
protected function NativeObjectSecurity (
    isContainer : boolean, 
    resourceType : ResourceType, 
    handle : SafeHandle, 
    includeSections : AccessControlSections
)

パラメータ

isContainer

新しい NativeObjectSecurity オブジェクトコンテナ オブジェクトである場合true

resourceType

新しNativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトの型。

handle

新しNativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトハンドル

includeSections

この NativeObjectSecurity オブジェクト格納されるセキュリティ設定できるオブジェクトセキュリティ記述子セクション (アクセス規則監査規則所有者プライマリ グループ) を指定する AccessControlSections 列挙値の 1 つ

解説解説

NativeObjectSecurity オブジェクト永続化する場合に、Persist メソッド渡される includeSections パラメータの値が、NativeObjectSecurity オブジェクトの作成使用されるコンストラクタ渡される includeSections パラメータの値と等しくないと、永続化する NativeObjectSecurity オブジェクトセクション予測できない値が含まれる可能性あります。たとえば、includeSections の値として Access指定してコンストラクタ呼び出し後で includeSections の値として All を指定してそのオブジェクトに対して Persist メソッド呼び出すと、結果として永続化された NativeObjectSecurity オブジェクトに、監査規則グループ、および所有者の値として予測できない値が格納されます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
NativeObjectSecurity クラス
NativeObjectSecurity メンバ
System.Security.AccessControl 名前空間

NativeObjectSecurity コンストラクタ (Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity.ExceptionFromErrorCode, Object)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。コンストラクタPersist メソッドに渡す includeSections パラメータの値を等しくすることをお勧めます。詳細については、解説参照してください

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Protected Sub New ( _
    isContainer As Boolean, _
    resourceType As ResourceType, _
    handle As SafeHandle, _
    includeSections As AccessControlSections, _
    exceptionFromErrorCode As ExceptionFromErrorCode, _
    exceptionContext As Object _
)
Dim isContainer As Boolean
Dim resourceType As ResourceType
Dim handle As SafeHandle
Dim includeSections As AccessControlSections
Dim exceptionFromErrorCode As ExceptionFromErrorCode
Dim exceptionContext As Object

Dim instance As New NativeObjectSecurity(isContainer,
 resourceType, handle, includeSections, exceptionFromErrorCode, exceptionContext)
protected NativeObjectSecurity (
    bool isContainer,
    ResourceType resourceType,
    SafeHandle handle,
    AccessControlSections includeSections,
    ExceptionFromErrorCode exceptionFromErrorCode,
    Object exceptionContext
)
protected:
NativeObjectSecurity (
    bool isContainer, 
    ResourceType resourceType, 
    SafeHandle^ handle, 
    AccessControlSections includeSections, 
    ExceptionFromErrorCode^ exceptionFromErrorCode, 
    Object^ exceptionContext
)
protected NativeObjectSecurity (
    boolean isContainer, 
    ResourceType resourceType, 
    SafeHandle handle, 
    AccessControlSections includeSections, 
    ExceptionFromErrorCode exceptionFromErrorCode, 
    Object exceptionContext
)
protected function NativeObjectSecurity (
    isContainer : boolean, 
    resourceType : ResourceType, 
    handle : SafeHandle, 
    includeSections : AccessControlSections, 
    exceptionFromErrorCode : ExceptionFromErrorCode, 
    exceptionContext : Object
)

パラメータ

isContainer

新しい NativeObjectSecurity オブジェクトコンテナ オブジェクトである場合true

resourceType

新しNativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトの型。

handle

新しNativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトハンドル

includeSections

この NativeObjectSecurity オブジェクト格納されるセキュリティ設定できるオブジェクトセキュリティ記述子セクション (アクセス規則監査規則所有者プライマリ グループ) を指定する AccessControlSections 列挙値の 1 つ

exceptionFromErrorCode

カスタム例外提供するインテグレータによって実装されたデリゲート

exceptionContext

例外発生元または発生先に関すコンテキスト情報格納しているオブジェクト

解説解説

NativeObjectSecurity オブジェクト永続化する場合に、Persist メソッド渡される includeSections パラメータの値が、NativeObjectSecurity オブジェクトの作成使用されるコンストラクタ渡される includeSections パラメータの値と等しくないと、永続化する NativeObjectSecurity オブジェクトセクション予測できない値が含まれる可能性あります。たとえば、includeSections の値として Access指定してコンストラクタ呼び出し後で includeSections の値として All を指定してそのオブジェクトに対して Persist メソッド呼び出すと、結果として永続化された NativeObjectSecurity オブジェクトに、監査規則グループ、および所有者の値として予測できない値が格納されます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
NativeObjectSecurity クラス
NativeObjectSecurity メンバ
System.Security.AccessControl 名前空間

NativeObjectSecurity コンストラクタ (Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity.ExceptionFromErrorCode, Object)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。コンストラクタPersist メソッドに渡す includeSections パラメータの値を等しくすることをお勧めます。詳細については、解説参照してください

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Protected Sub New ( _
    isContainer As Boolean, _
    resourceType As ResourceType, _
    name As String, _
    includeSections As AccessControlSections, _
    exceptionFromErrorCode As ExceptionFromErrorCode, _
    exceptionContext As Object _
)
Dim isContainer As Boolean
Dim resourceType As ResourceType
Dim name As String
Dim includeSections As AccessControlSections
Dim exceptionFromErrorCode As ExceptionFromErrorCode
Dim exceptionContext As Object

Dim instance As New NativeObjectSecurity(isContainer,
 resourceType, name, includeSections, exceptionFromErrorCode, exceptionContext)
protected NativeObjectSecurity (
    bool isContainer,
    ResourceType resourceType,
    string name,
    AccessControlSections includeSections,
    ExceptionFromErrorCode exceptionFromErrorCode,
    Object exceptionContext
)
protected:
NativeObjectSecurity (
    bool isContainer, 
    ResourceType resourceType, 
    String^ name, 
    AccessControlSections includeSections, 
    ExceptionFromErrorCode^ exceptionFromErrorCode, 
    Object^ exceptionContext
)
protected NativeObjectSecurity (
    boolean isContainer, 
    ResourceType resourceType, 
    String name, 
    AccessControlSections includeSections, 
    ExceptionFromErrorCode exceptionFromErrorCode, 
    Object exceptionContext
)
protected function NativeObjectSecurity (
    isContainer : boolean, 
    resourceType : ResourceType, 
    name : String, 
    includeSections : AccessControlSections, 
    exceptionFromErrorCode : ExceptionFromErrorCode, 
    exceptionContext : Object
)

パラメータ

isContainer

新しい NativeObjectSecurity オブジェクトコンテナ オブジェクトである場合true

resourceType

新しNativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトの型。

name

新しNativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトの名前。

includeSections

この NativeObjectSecurity オブジェクト格納されるセキュリティ設定できるオブジェクトセキュリティ記述子セクション (アクセス規則監査規則所有者プライマリ グループ) を指定する AccessControlSections 列挙値の 1 つ

exceptionFromErrorCode

カスタム例外提供するインテグレータによって実装されたデリゲート

exceptionContext

例外発生元または発生先に関すコンテキスト情報格納しているオブジェクト

解説解説

NativeObjectSecurity オブジェクト永続化する場合に、Persist メソッド渡される includeSections パラメータの値が、NativeObjectSecurity オブジェクトの作成使用されるコンストラクタ渡される includeSections パラメータの値と等しくないと、永続化する NativeObjectSecurity オブジェクトセクション予測できない値が含まれる可能性あります。たとえば、includeSections の値として Access指定してコンストラクタ呼び出し後で includeSections の値として All を指定してそのオブジェクトに対して Persist メソッド呼び出すと、結果として永続化された NativeObjectSecurity オブジェクトに、監査規則グループ、および所有者の値として予測できない値が格納されます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
NativeObjectSecurity クラス
NativeObjectSecurity メンバ
System.Security.AccessControl 名前空間

NativeObjectSecurity コンストラクタ (Boolean, ResourceType, NativeObjectSecurity.ExceptionFromErrorCode, Object)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

指定した値を使用してNativeObjectSecurity クラス新しインスタンス初期化します。

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Protected Sub New ( _
    isContainer As Boolean, _
    resourceType As ResourceType, _
    exceptionFromErrorCode As ExceptionFromErrorCode, _
    exceptionContext As Object _
)
Dim isContainer As Boolean
Dim resourceType As ResourceType
Dim exceptionFromErrorCode As ExceptionFromErrorCode
Dim exceptionContext As Object

Dim instance As New NativeObjectSecurity(isContainer,
 resourceType, exceptionFromErrorCode, exceptionContext)
protected NativeObjectSecurity (
    bool isContainer,
    ResourceType resourceType,
    ExceptionFromErrorCode exceptionFromErrorCode,
    Object exceptionContext
)
protected:
NativeObjectSecurity (
    bool isContainer, 
    ResourceType resourceType, 
    ExceptionFromErrorCode^ exceptionFromErrorCode, 
    Object^ exceptionContext
)
protected NativeObjectSecurity (
    boolean isContainer, 
    ResourceType resourceType, 
    ExceptionFromErrorCode exceptionFromErrorCode, 
    Object exceptionContext
)
protected function NativeObjectSecurity (
    isContainer : boolean, 
    resourceType : ResourceType, 
    exceptionFromErrorCode : ExceptionFromErrorCode, 
    exceptionContext : Object
)

パラメータ

isContainer

新しい NativeObjectSecurity オブジェクトコンテナ オブジェクトである場合true

resourceType

新しNativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトの型。

exceptionFromErrorCode

カスタム例外提供するインテグレータによって実装されたデリゲート

exceptionContext

例外発生元または発生先に関すコンテキスト情報格納しているオブジェクト

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
NativeObjectSecurity クラス
NativeObjectSecurity メンバ
System.Security.AccessControl 名前空間

NativeObjectSecurity コンストラクタ (Boolean, ResourceType, String, AccessControlSections)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。コンストラクタPersist メソッドに渡す includeSections パラメータの値を等しくすることをお勧めます。詳細については、解説参照してください

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Protected Sub New ( _
    isContainer As Boolean, _
    resourceType As ResourceType, _
    name As String, _
    includeSections As AccessControlSections _
)
Dim isContainer As Boolean
Dim resourceType As ResourceType
Dim name As String
Dim includeSections As AccessControlSections

Dim instance As New NativeObjectSecurity(isContainer,
 resourceType, name, includeSections)
protected NativeObjectSecurity (
    bool isContainer,
    ResourceType resourceType,
    string name,
    AccessControlSections includeSections
)
protected:
NativeObjectSecurity (
    bool isContainer, 
    ResourceType resourceType, 
    String^ name, 
    AccessControlSections includeSections
)
protected NativeObjectSecurity (
    boolean isContainer, 
    ResourceType resourceType, 
    String name, 
    AccessControlSections includeSections
)
protected function NativeObjectSecurity (
    isContainer : boolean, 
    resourceType : ResourceType, 
    name : String, 
    includeSections : AccessControlSections
)

パラメータ

isContainer

新しい NativObjectSecurity オブジェクトコンテナ オブジェクトである場合true

resourceType

新しい NativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトの型。

name

新しNativeObjectSecurity オブジェクト関連付けられている、セキュリティ設定できるオブジェクトの名前。

includeSections

この NativeObjectSecurity オブジェクト格納されるセキュリティ設定できるオブジェクトセキュリティ記述子セクション (アクセス規則監査規則所有者プライマリ グループ) を指定する AccessControlSections 列挙値の 1 つ

解説解説

NativeObjectSecurity オブジェクト永続化する場合に、Persist メソッド渡される includeSections パラメータの値が、NativeObjectSecurity オブジェクトの作成使用されるコンストラクタ渡される includeSections パラメータの値と等しくないと、永続化する NativeObjectSecurity オブジェクトセクション予測できない値が含まれる可能性あります。たとえば、includeSections の値として Access指定してコンストラクタ呼び出し後で includeSections の値として All を指定してそのオブジェクトに対して Persist メソッド呼び出すと、結果として永続化された NativeObjectSecurity オブジェクトに、監査規則グループ、および所有者の値として予測できない値が格納されます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
NativeObjectSecurity クラス
NativeObjectSecurity メンバ
System.Security.AccessControl 名前空間

NativeObjectSecurity コンストラクタ

NativeObjectSecurity クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
NativeObjectSecurity (Boolean, ResourceType) 値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。
NativeObjectSecurity (Boolean, ResourceType, NativeObjectSecurity.ExceptionFromErrorCode, Object) 指定した値を使用してNativeObjectSecurity クラス新しインスタンス初期化します。
NativeObjectSecurity (Boolean, ResourceType, SafeHandle, AccessControlSections) 値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。コンストラクタPersist メソッドに渡す includeSections パラメータの値を等しくすることをお勧めます。詳細については、解説参照してください
NativeObjectSecurity (Boolean, ResourceType, String, AccessControlSections) 値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。コンストラクタPersist メソッドに渡す includeSections パラメータの値を等しくすることをお勧めます。詳細については、解説参照してください
NativeObjectSecurity (Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity.ExceptionFromErrorCode, Object) 値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。コンストラクタPersist メソッドに渡す includeSections パラメータの値を等しくすることをお勧めます。詳細については、解説参照してください
NativeObjectSecurity (Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity.ExceptionFromErrorCode, Object) 値を指定してNativeObjectSecurity クラス新しインスタンス初期化します。コンストラクタPersist メソッドに渡す includeSections パラメータの値を等しくすることをお勧めます。詳細については、解説参照してください
参照参照

関連項目

NativeObjectSecurity クラス
NativeObjectSecurity メンバ
System.Security.AccessControl 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からNativeObjectSecurity コンストラクタを検索した結果を表示しています。
Weblioに収録されているすべての辞書からNativeObjectSecurity コンストラクタを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からNativeObjectSecurity コンストラクタ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「NativeObjectSecurity コンストラクタ」の関連用語

NativeObjectSecurity コンストラクタのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



NativeObjectSecurity コンストラクタのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS