Constructor TrendTemplateNotFoundException
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
TrendTemplateNotFoundException()
Initializes a new instance of the TrendTemplateNotFoundException class.
public TrendTemplateNotFoundException()TrendTemplateNotFoundException(string, IDmsProtocol)
Initializes a new instance of the TrendTemplateNotFoundException class.
public TrendTemplateNotFoundException(string templateName, IDmsProtocol protocol)Parameters
- templateNamestring
- The name of the template. 
- protocolIDmsProtocol
- The protocol this template relates to. 
TrendTemplateNotFoundException(string, string, string)
Initializes a new instance of the TrendTemplateNotFoundException class.
public TrendTemplateNotFoundException(string templateName, string protocolName, string protocolVersion)Parameters
- templateNamestring
- The name of the template. 
- protocolNamestring
- The name of the protocol. 
- protocolVersionstring
- The version of the protocol. 
TrendTemplateNotFoundException(string)
Initializes a new instance of the TrendTemplateNotFoundException class.
public TrendTemplateNotFoundException(string message)Parameters
- messagestring
- The error message that explains the reason for the exception. 
TrendTemplateNotFoundException(string, Exception)
Initializes a new instance of the TrendTemplateNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public TrendTemplateNotFoundException(string message, Exception innerException)Parameters
- messagestring
- The error message that explains the reason for the exception. 
- innerExceptionException
- The exception that is the cause of the current exception, or a null reference if no inner exception is specified. 
TrendTemplateNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the TrendTemplateNotFoundException class with serialized data.
protected TrendTemplateNotFoundException(SerializationInfo info, StreamingContext context)Parameters
- infoSerializationInfo
- The serialization info. 
- contextStreamingContext
- The 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).