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

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

SynchronizationAttribute コンストラクタ ()


SynchronizationAttribute コンストラクタ ()

既定の SynchronizationOption を使用して、SynchronizationAttribute クラス新しインスタンス初期化します。

名前空間: System.EnterpriseServices
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文構文

Dim instance As New SynchronizationAttribute
public SynchronizationAttribute ()
public:
SynchronizationAttribute ()
public SynchronizationAttribute ()
public function SynchronizationAttribute ()
解説解説
使用例使用例

新しSynchronizationAttribute作成するコード例次に示します

' This is equivalent to [Synchronization(SynchronizationOption.Required)].
<Synchronization()>  _
Public Class SynchronizationAttribute_Ctor
    Inherits ServicedComponent
End Class 'SynchronizationAttribute_Ctor
// This is equivalent to [Synchronization(SynchronizationOption.Required)].
[Synchronization]
public class SynchronizationAttribute_Ctor
 : ServicedComponent
{
}
// This is equivalent to [Synchronization(SynchronizationOption.Required)].
/** @attribute Synchronization()
 */
public class SynchronizationAttribute_Ctor
 extends ServicedComponent
{
} //SynchronizationAttribute_Ctor
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SynchronizationAttribute クラス
SynchronizationAttribute メンバ
System.EnterpriseServices 名前空間

SynchronizationAttribute コンストラクタ (Boolean)

再エントリが必要かどうかを示す Boolean 値を指定して、SynchronizationAttribute クラス新しインスタンス初期化します。

名前空間: System.Runtime.Remoting.Contexts
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Dim reEntrant As Boolean

Dim instance As New SynchronizationAttribute(reEntrant)
public SynchronizationAttribute (
    bool reEntrant
)
public:
SynchronizationAttribute (
    bool reEntrant
)
public SynchronizationAttribute (
    boolean reEntrant
)
public function SynchronizationAttribute (
    reEntrant : boolean
)

パラメータ

reEntrant

再エントリが必要かどうかを示す Boolean 値。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SynchronizationAttribute クラス
SynchronizationAttribute メンバ
System.Runtime.Remoting.Contexts 名前空間

SynchronizationAttribute コンストラクタ (Int32)

この属性適用するオブジェクト動作を示すフラグ指定して、SynchronizationAttribute クラス新しインスタンス初期化します。

名前空間: System.Runtime.Remoting.Contexts
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Dim flag As Integer

Dim instance As New SynchronizationAttribute(flag)
public SynchronizationAttribute (
    int flag
)
public:
SynchronizationAttribute (
    int flag
)
public SynchronizationAttribute (
    int flag
)
public function SynchronizationAttribute (
    flag : int
)

パラメータ

flag

この属性適用するオブジェクト動作を示す整数値。

例外例外
解説解説

flag パラメータは、NOT_SUPPORTED、SUPPORTEDREQUIRED、REQUIRES_NEW のいずれかにする必要があります

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

SynchronizationAttribute コンストラクタ (Int32, Boolean)

この属性適用するオブジェクト動作を示すフラグと、再エントリが必要かどうかを示す Boolean 値を指定して、SynchronizationAttribute クラス新しインスタンス初期化します。

名前空間: System.Runtime.Remoting.Contexts
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

public SynchronizationAttribute (
    int flag,
    bool reEntrant
)
public:
SynchronizationAttribute (
    int flag, 
    bool reEntrant
)
public SynchronizationAttribute (
    int flag, 
    boolean reEntrant
)
public function SynchronizationAttribute (
    flag : int, 
    reEntrant : boolean
)

パラメータ

flag

この属性適用するオブジェクト動作を示す整数値。

reEntrant

再エントリが必要であり、コールアウト受け取りシリアル化する必要がある場合trueそれ以外場合false

例外例外
解説解説

flag パラメータは、NOT_SUPPORTED、SUPPORTEDREQUIRED、REQUIRES_NEW のいずれかにする必要があります

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

SynchronizationAttribute コンストラクタ (SynchronizationOption)

SynchronizationOption指定して、SynchronizationAttribute クラス新しインスタンス初期化します。

名前空間: System.EnterpriseServices
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文構文

Public Sub New ( _
    val As SynchronizationOption _
)
Dim val As SynchronizationOption

Dim instance As New SynchronizationAttribute(val)
public SynchronizationAttribute (
    SynchronizationOption val
)
public:
SynchronizationAttribute (
    SynchronizationOption val
)
public SynchronizationAttribute (
    SynchronizationOption val
)
public function SynchronizationAttribute (
    val : SynchronizationOption
)

パラメータ

val

SynchronizationOption 値の 1 つ

使用例使用例

新しSynchronizationAttribute作成するコード例次に示します

<Synchronization(SynchronizationOption.Disabled)>  _
Public Class SynchronizationAttribute_Ctor_SynchronizationOption
    Inherits ServicedComponent
End Class 'SynchronizationAttribute_Ctor_SynchronizationOption
[Synchronization(SynchronizationOption.Disabled)]
public class SynchronizationAttribute_Ctor_SynchronizationOption
 : ServicedComponent
{
}
/** @attribute Synchronization(SynchronizationOption.Disabled)
 */
public class SynchronizationAttribute_Ctor_SynchronizationOption
 
    extends ServicedComponent
{
} //SynchronizationAttribute_Ctor_SynchronizationOption
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SynchronizationAttribute クラス
SynchronizationAttribute メンバ
System.EnterpriseServices 名前空間

SynchronizationAttribute コンストラクタ

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

名前 説明
SynchronizationAttribute () 既定の SynchronizationOption を使用してSynchronizationAttribute クラス新しインスタンス初期化します。
SynchronizationAttribute (SynchronizationOption) SynchronizationOption指定してSynchronizationAttribute クラス新しインスタンス初期化します。
参照参照

関連項目

SynchronizationAttribute クラス
SynchronizationAttribute メンバ
System.EnterpriseServices 名前空間

SynchronizationAttribute コンストラクタ

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

名前 説明
SynchronizationAttribute () SynchronizationAttribute クラス新しインスタンス既定値初期化します。
SynchronizationAttribute (Boolean) 再エントリが必要かどうかを示す Boolean 値を指定してSynchronizationAttribute クラス新しインスタンス初期化します。
SynchronizationAttribute (Int32) この属性適用するオブジェクト動作を示すフラグ指定してSynchronizationAttribute クラス新しインスタンス初期化します。
SynchronizationAttribute (Int32, Boolean) この属性適用するオブジェクト動作を示すフラグと、再エントリが必要かどうかを示す Boolean 値を指定してSynchronizationAttribute クラス新しインスタンス初期化します。
参照参照

関連項目

SynchronizationAttribute クラス
SynchronizationAttribute メンバ
System.Runtime.Remoting.Contexts 名前空間



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

辞書ショートカット

すべての辞書の索引

「SynchronizationAttribute コンストラクタ ()」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS