IMetadataInfo Interface

IIS 7.0

Retrieves metadata information for the current context.

class IMetadataInfo  

The following table lists the methods exposed by the IMetadataInfo interface.

GetMetaPathRetrieves the configuration path for the current context.
GetModuleContextContainerReturns the context container for the metadata.
GetVrPathRetrieves the physical path for a virtual directory within the current context.
GetVrTokenRetrieves an IHttpTokenEntry interface for the impersonation account that is configured for a virtual directory.
IReferencedMetadataInfo345258f4-4161-4f96-9ff1-2056d412d83bProvides an interface for referencing and dereferencing context metadata.

Developers can use the IMetadataInfo interface to retrieve metadata-related configuration information.

Client- IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server- IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016 Technical Preview
Product- IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- IIS Express 7.5, IIS Express 8.0, IIS Express 10.0

Web Server Core Interfaces