[]
        
(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
Inheritance
object
System.Exception
InvalidContentControlTypeException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.MemberwiseClone()

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.