Table of Contents

Constructor ResourceLimitExceededException

Namespace
DocWright.Core
Assembly
DocWright.Core.dll

ResourceLimitExceededException()

Initializes the exception.

public ResourceLimitExceededException()

ResourceLimitExceededException(string)

Initializes the exception with a message.

public ResourceLimitExceededException(string message)

Parameters

message string

The error message.

ResourceLimitExceededException(string, string?)

Initializes the exception with a message and the name of the exceeded limit.

public ResourceLimitExceededException(string message, string? limitName)

Parameters

message string

The error message.

limitName string

The name of the exceeded limit property, for example "MaxPages".

ResourceLimitExceededException(string, string?, Exception?)

Initializes the exception with a message, a limit name and an inner exception.

public ResourceLimitExceededException(string message, string? limitName, Exception? innerException)

Parameters

message string

The error message.

limitName string

The name of the exceeded limit property.

innerException Exception

The underlying cause.

ResourceLimitExceededException(string, string?, string?)

Initializes the exception with a message, a limit name and the observed value that exceeded that limit.

public ResourceLimitExceededException(string message, string? limitName, string? observedValue)

Parameters

message string

The error message.

limitName string

The name of the exceeded limit property.

observedValue string

The observed value, serialized culture-invariant.

ResourceLimitExceededException(string, string?, string?, Exception?)

Initializes the exception with a message, a limit name, an observed value and an inner exception.

public ResourceLimitExceededException(string message, string? limitName, string? observedValue, Exception? innerException)

Parameters

message string

The error message.

limitName string

The name of the exceeded limit property.

observedValue string

The observed value, serialized culture-invariant.

innerException Exception

The underlying cause.