Table of Contents

Constructor ResourceInUseException

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

ResourceInUseException()

Initializes a new instance of the ResourceInUseException class.

public ResourceInUseException()

ResourceInUseException(string)

Initializes a new instance of the ResourceInUseException class.

public ResourceInUseException(string message)

Parameters

message string

The error message that explains the reason for the exception.

ResourceInUseException(string, Exception)

Initializes a new instance of the ResourceInUseException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public ResourceInUseException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

ResourceInUseException(List<Guid>)

Initializes a new instance of the ResourceInUseException class with serialized data.

public ResourceInUseException(List<Guid> resources)

Parameters

resources List<Guid>

List of resources that are still in use.

ResourceInUseException(List<Guid>, string)

Initializes a new instance of the ResourceInUseException class with the resources that caused this exception to be thrown and an error message.

public ResourceInUseException(List<Guid> resources, string message)

Parameters

resources List<Guid>

List of GUIDs of the resources that are still in use.

message string

The error message that explains the reason for the exception.

ResourceInUseException(SerializationInfo, StreamingContext)

Initializes a new instance of the ResourceInUseException class with serialized data.

protected ResourceInUseException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The serialization info.

context StreamingContext

The 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).