Click or drag to resize

TerminateExternalProcessResult Class

Encapsulates the result from a call to DesktopSystem.terminateExternalProcess(). The result of the close/terminate can be retrieved by the getter named "Result".
Inheritance Hierarchy
SystemObject
  Openfin.DesktopTerminateExternalProcessResult

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.5.1
Syntax
C#
public class TerminateExternalProcessResult

The TerminateExternalProcessResult type exposes the following members.

Constructors
  NameDescription
Public methodTerminateExternalProcessResult
Creates a default instance of TerminateExternalProcessResult.
Public methodTerminateExternalProcessResult(String, String)
Creates an instance of TerminateExternalProcessResult with the specified process UUID and result.
Top
Properties
  NameDescription
Public propertyResult
The Result property represents how a process termination was handleded.

"clean": The process was closed.

"terminated": The was terminated.

"failed": The close/terminate operation was unable to complete.

Default: "failed"

Public propertyUUID
The UUID property represents the mapped UUID for a process launched by DesktopSystem.launchExternalProcess()

Default: An empty string

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also