New to Telerik Document ProcessingStart a free 30-day trial

Exception thrown when a worksheet or workbook protection constraint is violated.

Definition

Constructors

Initializes a new ProtectionException wrapping an inner exception with a localizable message key.

C#
public ProtectionException(string message, Exception innerException, string key)
Parameters:messagestring

The message.

innerExceptionException

The inner exception.

keystring

The key.

Initializes a new ProtectionException wrapping an underlying exception.

C#
public ProtectionException(string message, Exception innerException)
Parameters:messagestring

The message.

innerExceptionException

The inner exception.

Initializes a new ProtectionException with a localizable message key.

C#
public ProtectionException(string message, string key)
Parameters:messagestring

The message.

keystring

The key.

Initializes a new ProtectionException with the specified error message.

C#
public ProtectionException(string message)
Parameters:messagestring

The message.