This documentation is archived and is not being maintained.

DataServiceConfiguration.RegisterKnownType Method

Adds a type to the list of types that are recognized by the data service.

Namespace:  System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

Public Sub RegisterKnownType ( _
	type As Type _


Type: System.Type
Type to add to the collection of known types.



A provider can use the RegisterKnownType method to register a type when it cannot be detected by the runtime by using the default set of rules.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.