CreateException<T> Class
An activity to create an Exception.
Namespace: Microsoft.Activities
Assembly: Microsoft.Activities (in Microsoft.Activities.dll)
Inheritance Hierarchy
System.Object
System.Activities.Activity
System.Activities.ActivityWithResult
System.Activities.Activity<TResult>
Microsoft.Activities.CreateException<T>
Syntax
public sealed class CreateException<T> : Activity<Exception>
where T : Exception
generic<typename T>
where T : Exception
public ref class CreateException sealed : Activity<Exception^>
[<Sealed>]
type CreateException<'T when 'T : Exception> =
class
inherit Activity<Exception>
end
Public NotInheritable Class CreateException(Of T As Exception)
Inherits Activity(Of Exception)
Type Parameters
- T
The type of the created exception.
Constructors
Name | Description | |
---|---|---|
CreateException<T>() | Initializes a new instance of the CreateException<T> class. |
Properties
Name | Description | |
---|---|---|
CacheId | (Inherited from Activity.) |
|
DisplayName | (Inherited from Activity.) |
|
Id | (Inherited from Activity.) |
|
ImplementationVersion | (Inherited from Activity.) |
|
InnerException | Gets or sets the inner exception. |
|
Message | Gets or sets the exception message. |
|
Result | (Inherited from Activity<TResult>.) |
|
ResultType | (Inherited from ActivityWithResult.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Activity.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Activities Namespace
Return to top