Bagikan melalui


ExceptionClassAttribute(String) Konstruktor

Definisi

Menginisialisasi instans baru kelas ExceptionClassAttribute.

public:
 ExceptionClassAttribute(System::String ^ name);
public ExceptionClassAttribute (string name);
new System.EnterpriseServices.ExceptionClassAttribute : string -> System.EnterpriseServices.ExceptionClassAttribute
Public Sub New (name As String)

Parameter

name
String

Nama kelas pengecualian bagi pemutar untuk mengaktifkan dan memutar kembali sebelum pesan dirutekan ke antrean dead letter.

Contoh

Contoh kode berikut membuat baru ExceptionClassAttribute.

[ExceptionClass("ExceptionHandler")]
public class ExceptionClassAttribute_Ctor_String : ServicedComponent
{
}

Berlaku untuk