Export (0) Print
Expand All

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)

abstract RegisterKnownType : 
        type:Type -> unit 
override RegisterKnownType : 
        type:Type -> unit 

Parameters

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

Implements

IDataServiceConfiguration.RegisterKnownType(Type)

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.

Community Additions

ADD
Show:
© 2014 Microsoft