[]
The exception that is thrown when trying to set properties that the current content control is not supported.
public class InvalidContentControlTypeException : Exception, ISerializable, _Exception
Initializes a new instance of the InvalidContentControlTypeException class.
public InvalidContentControlTypeException(ContentControlType supportedType, string property = "")
supportedType
ContentControlTypeThe supported content control type.
property
stringThe caller property name.
Initializes a new instance of the InvalidContentControlTypeException class.
public InvalidContentControlTypeException(string message)
message
stringThe message that describes the error.