FaultHandlerActivity Constructors
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 FaultHandlerActivity class.
Overloads
FaultHandlerActivity() |
Initializes a new instance of the FaultHandlerActivity class. |
FaultHandlerActivity(String) |
Initializes a new instance of the FaultHandlerActivity class using the name of the activity. |
FaultHandlerActivity()
Initializes a new instance of the FaultHandlerActivity class.
public:
FaultHandlerActivity();
public FaultHandlerActivity ();
Public Sub New ()
Examples
The following example shows how to create an instance of the FaultHandlerActivity class. This example is from the Compensation SDK sample. For more information, see Compensation Sample.
this.NoProductFaultHandler = new System.Workflow.ComponentModel.FaultHandlerActivity();
Me.NoProductFaultHandler = New System.Workflow.ComponentModel.FaultHandlerActivity()
Applies to
FaultHandlerActivity(String)
Initializes a new instance of the FaultHandlerActivity class using the name of the activity.
public:
FaultHandlerActivity(System::String ^ name);
public FaultHandlerActivity (string name);
new System.Workflow.ComponentModel.FaultHandlerActivity : string -> System.Workflow.ComponentModel.FaultHandlerActivity
Public Sub New (name As String)
Parameters
- name
- String
The user-defined name of the activity.
Exceptions
activityName
is a null reference (Nothing
in Visual Basic).
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기