Share via


HostCrashException Class

Definition

Exception that is thrown when a ServiceHub Host process exits with a non-zero exit code.

public class HostCrashException : Microsoft.ServiceHub.Utility.ServiceHubException
type HostCrashException = class
    inherit ServiceHubException
Public Class HostCrashException
Inherits ServiceHubException
Inheritance
HostCrashException
Derived

Constructors

HostCrashException(String, Nullable<Int32>, String)

Initializes a new instance of the HostCrashException class.

Properties

ErrorType

Gets the type of error that occurred.

(Inherited from ServiceHubException)
HostExitCode

Gets the exit code of the host process if it has exited.

StandardError

Gets the text written to the Host process's standard error stream.

Applies to