ResourceType Constructor (Type, ResourceTypeKind, ResourceType, String, String, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates an instance of a data service ResourceType.

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

public ResourceType(
	Type instanceType,
	ResourceTypeKind resourceTypeKind,
	ResourceType baseType,
	string namespaceName,
	string name,
	bool isAbstract
)

Parameters

instanceType
Type: System.Type

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

resourceTypeKind
Type: System.Data.Services.Providers.ResourceTypeKind

ResourceTypeKind of the resource type.

baseType
Type: System.Data.Services.Providers.ResourceType

Base type of the resource type as string.

namespaceName
Type: System.String

Namespace name of the resource type as string.

name
Type: System.String

Name of the given resource type as string.

isAbstract
Type: System.Boolean

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

.NET Framework
Available since 3.5
Return to top
Show: