PSWorkflowInstance.DoTerminateInstance Method
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.
Overloads
DoTerminateInstance(String) |
DoTerminateInstance |
DoTerminateInstance(String, Boolean) |
DoTerminateInstance |
DoTerminateInstance(String)
DoTerminateInstance
protected:
virtual void DoTerminateInstance(System::String ^ reason);
protected:
virtual void DoTerminateInstance(Platform::String ^ reason);
virtual void DoTerminateInstance(std::wstring const & reason);
protected virtual void DoTerminateInstance (string reason);
abstract member DoTerminateInstance : string -> unit
override this.DoTerminateInstance : string -> unit
Protected Overridable Sub DoTerminateInstance (reason As String)
Parameters
- reason
- String
Reason message for termination
Applies to
DoTerminateInstance(String, Boolean)
DoTerminateInstance
protected:
virtual void DoTerminateInstance(System::String ^ reason, bool suppressError);
protected:
virtual void DoTerminateInstance(Platform::String ^ reason, bool suppressError);
virtual void DoTerminateInstance(std::wstring const & reason, bool suppressError);
protected virtual void DoTerminateInstance (string reason, bool suppressError);
abstract member DoTerminateInstance : string * bool -> unit
override this.DoTerminateInstance : string * bool -> unit
Protected Overridable Sub DoTerminateInstance (reason As String, suppressError As Boolean)
Parameters
- reason
- String
Reason message for termination
- suppressError
- Boolean
Suppress error for termination