Constructor ScriptNotFoundException
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
ScriptNotFoundException()
Initializes a new instance of the ScriptNotFoundException class.
public ScriptNotFoundException()
ScriptNotFoundException(string)
Initializes a new instance of the ScriptNotFoundException class.
public ScriptNotFoundException(string name)
Parameters
name
stringThe name of the script that was not found.
ScriptNotFoundException(string, Exception)
Initializes a new instance of the ScriptNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ScriptNotFoundException(string name, Exception innerException)
Parameters
name
stringThe name of the script that was not found.
innerException
ExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
ScriptNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the ScriptNotFoundException class with serialized data.
protected ScriptNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe serialization info.
context
StreamingContextThe streaming context.
Remarks
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.
Exceptions
- ArgumentNullException
The
info
parameter is null.- SerializationException
The class name is null or HResult is zero (0).