TypeInformationGenerator Class

Definition

Forms the base class for the remotable type information generator.

public ref class TypeInformationGenerator abstract : MarshalByRefObject
public abstract class TypeInformationGenerator : MarshalByRefObject
type TypeInformationGenerator = class
    inherit MarshalByRefObject
Public MustInherit Class TypeInformationGenerator
Inherits MarshalByRefObject
Inheritance
TypeInformationGenerator

Remarks

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

Note

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

Features that are protected with a demand for the System.Web.AspNetHostingPermissionLevel.Minimal level will succeed.

The System.Web.AspNetHostingPermissionLevel.Minimal 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 Implementers

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

Constructors

TypeInformationGenerator()

Initializes a new instance of the TypeInformationGenerator class.

Methods

GetTypeInformation(Type)

When overridden in a derived class, returns a serializable or marshalable object that contains information about the specified type.

Applies to

See also