SchedulerException 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
| SchedulerException() |
Initialize a new, empty instance of the SchedulerException class. |
| SchedulerException(String) |
Initialize a new, instance of the SchedulerException class using the specified message. |
| SchedulerException(Int32, String) |
Initialize a new instance of the SchedulerException class using the specified error code and insert arguments. |
| SchedulerException(SerializationInfo, StreamingContext) |
Initialize a new, instance of the SchedulerException class using the specified serialization information and streaming context. |
| SchedulerException(String, Exception) |
Initialize a new, instance of the SchedulerException class using the specified message and inner exception. |
SchedulerException()
Initialize a new, empty instance of the SchedulerException class.
public SchedulerException();
Public Sub New ()
Applies to
SchedulerException(String)
Initialize a new, instance of the SchedulerException class using the specified message.
public SchedulerException(string message);
new Microsoft.Hpc.Scheduler.Properties.SchedulerException : string -> Microsoft.Hpc.Scheduler.Properties.SchedulerException
Public Sub New (message As String)
Parameters
- message
- String
Applies to
SchedulerException(Int32, String)
Initialize a new instance of the SchedulerException class using the specified error code and insert arguments.
public SchedulerException(int errorCode, string errorParams);
new Microsoft.Hpc.Scheduler.Properties.SchedulerException : int * string -> Microsoft.Hpc.Scheduler.Properties.SchedulerException
Public Sub New (errorCode As Integer, errorParams As String)
Parameters
- errorParams
- String
A string that contains a list of insert strings. The insert strings are delimited using three vertical bars (string1|||string2). The insert string correspond directly to the insert sequences defined in the message string. For example, the first insert string corresponds to the %1 insert sequence in the message string; the second insert string corresponds to the %2 insert sequence; and so on.
Applies to
SchedulerException(SerializationInfo, StreamingContext)
Initialize a new, instance of the SchedulerException class using the specified serialization information and streaming context.
protected SchedulerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Hpc.Scheduler.Properties.SchedulerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Hpc.Scheduler.Properties.SchedulerException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
A SerializationInfo object used to serialize the exception.
- context
- StreamingContext
A StreamingContext object that describes the source and destination of a given serialized stream, and provides an additional caller-defined context.
Applies to
SchedulerException(String, Exception)
Initialize a new, instance of the SchedulerException class using the specified message and inner exception.
public SchedulerException(string message, Exception inner);
new Microsoft.Hpc.Scheduler.Properties.SchedulerException : string * Exception -> Microsoft.Hpc.Scheduler.Properties.SchedulerException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
- inner
- Exception
The inner exception.