This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
ConstructorBuilder Methods
The methods of the ConstructorBuilder class are listed below. For a complete list of ConstructorBuilder class members, see the ConstructorBuilder Members topic.
Public:
AddDeclarativeSecurity |
Adds declarative security to this constructor. AddDeclarativeSecurity may be called several times with each call specifying a security action (e.g., Demand, Assert, Deny) and a set of permissions that the action applies to. |
DefineParameter |
Defines a parameter of this constructor. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetCustomAttributes |
Overloaded. Overloaded. Returns the custom attributes defined for this constructor. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetILGenerator |
Gets an ILGenerator for this constructor. |
GetMethodImplementationFlags |
Returns the method implementation flags for this constructor. |
GetModule |
Returns a reference to the module that contains this constructor. |
GetParameters |
Returns the parameters of this constructor. |
GetToken |
Returns the MethodToken that represents the token for this constructor. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Invoke |
Overloaded. [To be supplied.] |
IsDefined |
Checks if the specified custom attribute type is defined. |
SetCustomAttribute |
Overloaded. Sets a custom attribute. |
SetImplementationFlags |
Sets the method implementation flags for this constructor. |
SetSymCustomAttribute |
Sets this constructor's custom attribute associated with symbolic information. |
ToString |
Returns this ConstructorBuilder instance as a String. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
ConstructorBuilder Class | System.Reflection.Emit Namespace