TypeInformationGenerator Class

TypeInformationGenerator Class

IIS 7.0

Forms the base class for the remotable type information generator.


Namespace:  Microsoft.Web.Management.Server
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public abstract class TypeInformationGenerator : MarshalByRefObject

The TypeInformationGenerator type exposes the following members.

Protected methodTypeInformationGeneratorInitializes a new instance of the TypeInformationGenerator class.

Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodGetTypeInformationWhen overridden in a derived class, returns a serializable or marshalable object that contains information about the specified type.
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone()()()() (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public methodToString (Inherited from Object.)

This class generates remotable information from each enumerated type. The application domain represents the application.


Because it is instantiated, this class is associated with the AspNetHostingPermission class.

Features that are protected with a demand for the AspNetHostingPermissionLevelMinimal()()()() level will succeed.

The AspNetHostingPermissionLevelMinimal()()()() permission level allows code to execute but not to interact with resources present on the system. You can grant this level by configuring at least the Minimal()()()() trust level by using the trust section in a configuration file.

Notes to Inheritors

When you inherit from TypeInformationGenerator, you must override the GetTypeInformation method.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2016 Microsoft