Export (0) Print
Expand All

CodeThrowExceptionStatement Members

Represents a statement that throws an exception.

The following tables list the members exposed by the CodeThrowExceptionStatement type.

  Name Description
Public method CodeThrowExceptionStatement Overloaded. Initializes a new instance of the CodeThrowExceptionStatement class.
Top

  Name Description
Public property EndDirectives  Gets a CodeDirectiveCollection object that contains end directives.(inherited from CodeStatement)
Public property LinePragma  Gets or sets the line on which the code statement occurs. (inherited from CodeStatement)
Public property StartDirectives  Gets a CodeDirectiveCollection object that contains start directives.(inherited from CodeStatement)
Public property ToThrow Gets or sets the exception to throw.
Public property UserData  Gets or sets the user-definable data for the current object.(inherited from CodeObject)
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft