ServiceHubException(ServiceHubException+ErrorKind, String, Exception) Constructor
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.
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
The type of error that occurred.
- message
- String
The exception message.
- innerException
- Exception
The inner exception.