Constructor ElementUpdateFailedException
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
ElementUpdateFailedException()
Initializes a new instance of the ElementUpdateFailedException class.
public ElementUpdateFailedException()
ElementUpdateFailedException(int, int)
Initializes a new instance of the ElementUpdateFailedException class.
public ElementUpdateFailedException(int dmaId, int elementId)
Parameters
dmaIdintDataMiner Agent ID of the element that failed to update.
elementIdintElement ID of the element that failed to update.
ElementUpdateFailedException(DmsElementId)
Initializes a new instance of the ElementUpdateFailedException class using DmsElementId.
public ElementUpdateFailedException(DmsElementId dmsElementId)
Parameters
dmsElementIdDmsElementIdThe system-wide element ID.
ElementUpdateFailedException(string)
Initializes a new instance of the ElementUpdateFailedException class.
public ElementUpdateFailedException(string message)
Parameters
messagestringThe error message that explains the reason for the exception.
ElementUpdateFailedException(string, Exception)
Initializes a new instance of the ElementUpdateFailedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ElementUpdateFailedException(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.
ElementUpdateFailedException(SerializationInfo, StreamingContext)
Initializes a new instance of the ElementUpdateFailedException class with serialized data.
protected ElementUpdateFailedException(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).