Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TypeInformationGenerator Class

IIS 7.0

Forms the base class for the remotable type information generator.

System..::..Object
  MarshalByRefObject
    Microsoft.Web.Management.Server..::..TypeInformationGenerator

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.

  NameDescription
Protected methodTypeInformationGeneratorInitializes a new instance of the TypeInformationGenerator class.
Top
  NameDescription
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.)
Top

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

NoteNote:

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.