Share via


HostStartUpException(String, Nullable<Int32>, String) Constructor

Definition

Initializes a new instance of the HostStartUpException class.

public HostStartUpException (string? message, int? hostExitCode, string standardError);
new Microsoft.ServiceHub.Utility.HostStartUpException : string * Nullable<int> * string -> Microsoft.ServiceHub.Utility.HostStartUpException
Public Sub New (message As String, hostExitCode As Nullable(Of Integer), standardError As String)

Parameters

message
String

The exception message.

hostExitCode
Nullable<Int32>

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

standardError
String

The output of the Host's standard error stream.

Remarks

The standardError is set as the message of the InnerException to allow that data to be provided to the remote client in the case of this being wrapped in a RemoteInvocationException.

Applies to