次の方法で共有


ServiceHubException(ServiceHubException+ErrorKind, String, Exception) Constructor

Definition

Initializes a new instance of the ServiceHubException class.

public ServiceHubException (Microsoft.ServiceHub.Utility.ServiceHubException.ErrorKind error = Microsoft.ServiceHub.Utility.ServiceHubException+ErrorKind.Error, string? message = default, Exception? innerException = default);
new Microsoft.ServiceHub.Utility.ServiceHubException : Microsoft.ServiceHub.Utility.ServiceHubException.ErrorKind * string * Exception -> Microsoft.ServiceHub.Utility.ServiceHubException
Public Sub New (Optional error As ServiceHubException.ErrorKind = Microsoft.ServiceHub.Utility.ServiceHubException+ErrorKind.Error, Optional message As String = Nothing, Optional innerException As Exception = Nothing)

Parameters

error
ServiceHubException.ErrorKind

The type of error that occurred.

message
String

The exception message.

innerException
Exception

The inner exception.

Applies to