Bagikan melalui


ConsiderForCodeGenerationAttribute(Type, Boolean) Konstruktor

Definisi

Menginisialisasi instans baru .ConsiderForCodeGenerationAttribute

protected ConsiderForCodeGenerationAttribute(Type type, bool throwOnFailure = false);
new Orleans.CodeGeneration.ConsiderForCodeGenerationAttribute : Type * bool -> Orleans.CodeGeneration.ConsiderForCodeGenerationAttribute
Protected Sub New (type As Type, Optional throwOnFailure As Boolean = false)

Parameter

type
Type

Jenis yang harus dihasilkan generator untuk

throwOnFailure
Boolean

Ketika true, itu akan melemparkan pengecualian jika kode tidak dapat dihasilkan untuk jenis ini.

Berlaku untuk