[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.InvalidContentControlChildException

Class InvalidContentControlChildException

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

The exception that is thrown when trying to insert invalid content type inside the content control.

public class InvalidContentControlChildException : Exception, ISerializable, _Exception
Inheritance
InvalidContentControlChildException
Implements
Derived
Inherited Members

Constructors

InvalidContentControlChildException(ContentControl, ContentObject)

Initializes a new instance of the InvalidContentControlChildException class.

public InvalidContentControlChildException(ContentControl contentControl, ContentObject child)

Parameters

contentControl ContentControl

The content control inside wich trying to insert.

child ContentObject

The child content wich trying to insert.

InvalidContentControlChildException(string)

Initializes a new instance of the InvalidContentControlChildException class.

public InvalidContentControlChildException(string message)

Parameters

message string

The message that describes the error.