ExceptionClassAttribute(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.