ScheduledJobException Constructors
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.
Overloads
ScheduledJobException() |
Creates a new instance of ScheduledJobException class. |
ScheduledJobException(String) |
Creates a new instance of ScheduledJobException class. |
ScheduledJobException(String, Exception) |
Creates a new instance of ScheduledJobException class. |
ScheduledJobException()
Creates a new instance of ScheduledJobException class.
public ScheduledJobException ();
Public Sub New ()
Applies to
ScheduledJobException(String)
Creates a new instance of ScheduledJobException class.
public ScheduledJobException (string message);
new Microsoft.PowerShell.ScheduledJob.ScheduledJobException : string -> Microsoft.PowerShell.ScheduledJob.ScheduledJobException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
ScheduledJobException(String, Exception)
Creates a new instance of ScheduledJobException class.
public ScheduledJobException (string message, Exception innerException);
new Microsoft.PowerShell.ScheduledJob.ScheduledJobException : string * Exception -> Microsoft.PowerShell.ScheduledJob.ScheduledJobException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception.