Constructor ServiceNotFoundException
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
ServiceNotFoundException()
Initializes a new instance of the ServiceNotFoundException class.
public ServiceNotFoundException()
ServiceNotFoundException(DmsServiceId)
Initializes a new instance of the ServiceNotFoundException class.
public ServiceNotFoundException(DmsServiceId dmsServiceId)
Parameters
dmsServiceIdDmsServiceIdThe DataMiner Agent ID/service ID of the service that was not found.
ServiceNotFoundException(int, int)
Initializes a new instance of the ServiceNotFoundException class.
public ServiceNotFoundException(int dmaId, int serviceId)
Parameters
dmaIdintThe ID of the DataMiner Agent that was not found.
serviceIdintThe ID of the service that was not found.
ServiceNotFoundException(string)
Initializes a new instance of the ServiceNotFoundException class.
public ServiceNotFoundException(string message)
Parameters
messagestringThe error message that explains the reason for the exception.
ServiceNotFoundException(string, Exception)
Initializes a new instance of the ServiceNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ServiceNotFoundException(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.
ServiceNotFoundException(DmsServiceId, Exception)
Initializes a new instance of the ServiceNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ServiceNotFoundException(DmsServiceId dmsServiceId, Exception innerException)
Parameters
dmsServiceIdDmsServiceIdThe DataMiner Agent ID/service ID of the service that was not found.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
ServiceNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the ServiceNotFoundException class with serialized data.
protected ServiceNotFoundException(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).