Share via


CreateException<T>-Klasse

 

Eine Aktivität zum Erstellen einer Ausnahme.

Namespace:   Microsoft.Activities
Assembly:  Microsoft.Activities (in Microsoft.Activities.dll)

Vererbungshierarchie

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)

Typparameter

  • T
    Der Typ der erstellten Ausnahme.

Konstruktoren

Name Beschreibung
System_CAPS_pubmethod CreateException<T>()

Initialisiert eine neue Instanz der der CreateException<T> Klasse.

Eigenschaften

Name Beschreibung
System_CAPS_protproperty CacheId

(Geerbt von „Activity“.)

System_CAPS_pubproperty DisplayName

(Geerbt von „Activity“.)

System_CAPS_pubproperty Id

(Geerbt von „Activity“.)

System_CAPS_protproperty ImplementationVersion

(Geerbt von „Activity“.)

System_CAPS_pubproperty InnerException

Ruft ab oder legt die innere Ausnahme.

System_CAPS_pubproperty Message

Ruft ab oder legt die Ausnahme fest.

System_CAPS_pubproperty Result

(Geerbt von „Activity<TResult>“.)

System_CAPS_pubproperty ResultType

(Geerbt von „ActivityWithResult“.)

Methoden

Name Beschreibung
System_CAPS_pubmethod Equals(Object)

(Geerbt von „Object“.)

System_CAPS_pubmethod GetHashCode()

(Geerbt von „Object“.)

System_CAPS_pubmethod GetType()

(Geerbt von „Object“.)

System_CAPS_pubmethod ToString()

(Geerbt von „Activity“.)

Threadsicherheit

Alle öffentlichen statischen Member ( Shared in Visual Basic) dieses Typs sind threadsicher. Die Threadsicherheit für Instanzmember ist nicht garantiert.

Siehe auch

Microsoft.Activities-Namespace

Zurück zum Anfang