[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.InvalidContentControlTypeException

Class InvalidContentControlTypeException

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

The exception that is thrown when trying to set properties that the current content control is not supported.

public class InvalidContentControlTypeException : Exception, ISerializable, _Exception
Inheritance
InvalidContentControlTypeException
Implements
Inherited Members

Constructors

InvalidContentControlTypeException(ContentControlType, string)

Initializes a new instance of the InvalidContentControlTypeException class.

public InvalidContentControlTypeException(ContentControlType supportedType, string property = "")

Parameters

supportedType ContentControlType

The supported content control type.

property string

The caller property name.

InvalidContentControlTypeException(string)

Initializes a new instance of the InvalidContentControlTypeException class.

public InvalidContentControlTypeException(string message)

Parameters

message string

The message that describes the error.