Muokkaa

Jaa


ExceptionClassAttribute(String) Constructor

Definition

Initializes a new instance of the ExceptionClassAttribute class.

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

Parameters

name
String

The name of the exception class for the player to activate and play back before the message is routed to the dead letter queue.

Examples

The following code example creates a new ExceptionClassAttribute.

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

Applies to