Constructor ParameterNotFoundException
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
ParameterNotFoundException()
Initializes a new instance of the ParameterNotFoundException class.
public ParameterNotFoundException()
ParameterNotFoundException(int, DmsElementId)
Initializes a new instance of the ParameterNotFoundException class with a specified DataMiner element parameter ID.
public ParameterNotFoundException(int id, DmsElementId dmsElementId)
Parameters
idintThe ID of the DataMiner Agent that was not found.
dmsElementIdDmsElementIdThe DataMiner Agent ID/element ID of the element the parameter belongs to.
ParameterNotFoundException(string)
Initializes a new instance of the ParameterNotFoundException class with a specified error message.
public ParameterNotFoundException(string message)
Parameters
messagestringThe error message that explains the reason for the exception.
ParameterNotFoundException(string, Exception)
Initializes a new instance of the ParameterNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ParameterNotFoundException(string message, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
ParameterNotFoundException(int, DmsElementId, Exception)
Initializes a new instance of the ParameterNotFoundException class with a specified DataMiner element parameter ID.
public ParameterNotFoundException(int id, DmsElementId dmsElementId, Exception innerException)
Parameters
idintThe ID of the DataMiner agent that was not found.
dmsElementIdDmsElementIdThe DataMiner agent ID/element ID of the element the parameter belongs to.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
ParameterNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the ParameterNotFoundException class with serialized data.
protected ParameterNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe serialization info.
contextStreamingContextThe streaming context.
Remarks
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.
Exceptions
- ArgumentNullException
The
infoparameter is null.- SerializationException
The class name is null or HResult is zero (0).