Constructor KeyNotFoundInTableException
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
KeyNotFoundInTableException()
Initializes a new instance of the KeyNotFoundInTableException class.
public KeyNotFoundInTableException()
KeyNotFoundInTableException(string, int, DmsElementId)
Initializes a new instance of the KeyNotFoundInTableException class with a specified DataMiner element parameter ID.
public KeyNotFoundInTableException(string key, int tableId, DmsElementId dmsElementId)
Parameters
key
stringThe requested key.
tableId
intThe ID of the table.
dmsElementId
DmsElementIdThe DataMiner Agent ID/element ID of the element the table belongs to.
KeyNotFoundInTableException(string)
Initializes a new instance of the KeyNotFoundInTableException class with a specified error message.
public KeyNotFoundInTableException(string message)
Parameters
message
stringThe error message that explains the reason for the exception.
KeyNotFoundInTableException(string, Exception)
Initializes a new instance of the KeyNotFoundInTableException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public KeyNotFoundInTableException(string message, Exception innerException)
Parameters
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
KeyNotFoundInTableException(SerializationInfo, StreamingContext)
Initializes a new instance of the KeyNotFoundInTableException class with serialized data.
protected KeyNotFoundInTableException(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).