OrleansConstructorAttribute クラス

定義

シリアル化されたデータから新しいインスタンスを作成するときにシリアライザーが使用するコンストラクターを指定します。

[System.AttributeUsage(System.AttributeTargets.Constructor)]
public sealed class OrleansConstructorAttribute : Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute
[<System.AttributeUsage(System.AttributeTargets.Constructor)>]
type OrleansConstructorAttribute = class
    inherit ActivatorUtilitiesConstructorAttribute
Public NotInheritable Class OrleansConstructorAttribute
Inherits ActivatorUtilitiesConstructorAttribute
継承
OrleansConstructorAttribute
属性

注釈

この属性を使用して、最大 1 つのコンストラクターに注釈を付けることができます。 複数のコンストラクターに注釈が付けられている場合、この属性の存在は無視されます。

コンストラクター

OrleansConstructorAttribute()

OrleansConstructorAttribute クラスの新しいインスタンスを初期化します。

適用対象

こちらもご覧ください