Edit

Share via


ResourceType Constructor

Definition

Creates an instance of a data service ResourceType.

public:
 ResourceType(Type ^ instanceType, System::Data::Services::Providers::ResourceTypeKind resourceTypeKind, System::Data::Services::Providers::ResourceType ^ baseType, System::String ^ namespaceName, System::String ^ name, bool isAbstract);
public ResourceType (Type instanceType, System.Data.Services.Providers.ResourceTypeKind resourceTypeKind, System.Data.Services.Providers.ResourceType baseType, string namespaceName, string name, bool isAbstract);
new System.Data.Services.Providers.ResourceType : Type * System.Data.Services.Providers.ResourceTypeKind * System.Data.Services.Providers.ResourceType * string * string * bool -> System.Data.Services.Providers.ResourceType
Public Sub New (instanceType As Type, resourceTypeKind As ResourceTypeKind, baseType As ResourceType, namespaceName As String, name As String, isAbstract As Boolean)

Parameters

instanceType
Type

CLR type that represents the format inside the WCF Data Services runtime.

resourceTypeKind
ResourceTypeKind

ResourceTypeKind of the resource type.

baseType
ResourceType

Base type of the resource type as string.

namespaceName
String

Namespace name of the resource type as string.

name
String

Name of the given resource type as string.

isAbstract
Boolean

Boolean value that indicates whether the resource type is an abstract type.

Applies to