ExceptionClassAttribute(String) Konstruktor

Definition

Initierar en ny instans av ExceptionClassAttribute klassen.

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

Parametrar

name
String

Namnet på undantagsklassen för spelaren att aktivera och spela upp innan meddelandet dirigeras till kön med obeställbara meddelanden.

Exempel

I följande kodexempel skapas en ny ExceptionClassAttribute.

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

Gäller för