ExceptionClassAttribute(String) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy ExceptionClassAttribute.

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

Parametry

name
String

Nazwa klasy wyjątku, która umożliwia graczowi aktywowanie i odtwarzanie przed skierowaniem komunikatu do kolejki utraconych wiadomości.

Przykłady

Poniższy przykład kodu tworzy nowy ExceptionClassAttributeelement .

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

Dotyczy