ResourceType Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.