Constructor ResourceLimitExceededException
ResourceLimitExceededException()
Initializes the exception.
public ResourceLimitExceededException()
ResourceLimitExceededException(string)
Initializes the exception with a message.
public ResourceLimitExceededException(string message)
Parameters
messagestringThe 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
messagestringThe error message.
limitNamestringThe 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
messagestringThe error message.
limitNamestringThe name of the exceeded limit property.
innerExceptionExceptionThe 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
messagestringThe error message.
limitNamestringThe name of the exceeded limit property.
observedValuestringThe 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)