NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ConstructorBuilder Members

Public:

Properties

Attributes Retrieves the attributes for this constructor.
CallingConvention (inherited from MethodBase) Retrieves the calling conventions for this method.
DeclaringType Retrieves a reference to the Type object for the type that declares this member. A member of a class (or interface) is either declared or inherited from a base class (or interface).
IsAbstract (inherited from MethodBase) Retrieves whether this is an abstract method.
IsAssembly (inherited from MethodBase) Retrieves whether this is an abstract method.
IsConstructor (inherited from MethodBase) If set, the method is a constructor.
IsFamily (inherited from MethodBase) If set, this method can be called by all subclasses, wherever they are, but not by unrelated classes.
IsFamilyAndAssembly (inherited from MethodBase) If set, this method can be called by subclasses if they are in the same assembly.
IsFamilyOrAssembly (inherited from MethodBase) If set, this method can be called by subclasses, wherever they are, and by all classes in the same assembly.
IsFinal (inherited from MethodBase) If set, this method cannot be overridden by a subclass.
IsHideBySig (inherited from MethodBase) [To be supplied.]
IsPrivate (inherited from MethodBase) If set, this method can be called only by other members of the class itself.
IsPublic (inherited from MethodBase) Retrieves whether this is a public method.
IsSpecialName (inherited from MethodBase) If set, this method has a special name.
IsStatic (inherited from MethodBase) If set, the method is static.
IsVirtual (inherited from MethodBase) Retrieves a value indicating whether the method is virtual.
MemberType (inherited from ConstructorInfo) Specifies the type of this member this instance reflects.
MethodHandle Retrieves the internal handle for the method. Use this handle to access the underlying metadata handle.
Name Retrieves the name of this constructor.
ReflectedType This read-only property holds a reference to the Type object from which this object was obtained.

A ConstructorBuilder object represents a constructor on a particular class. In order to obtain a ConstructorInfo object, the Type object that represents the class that supports the constructor is queried. This property holds a reference to that Type object.

ReturnType Retrieves the Type of this constructor's return value.
Signature Retrieves the signature of the field.

Methods

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:

Methods

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