Condividi tramite


Costruttore ResourceType

Crea un'istanza di un servizio dati ResourceType.

Spazio dei nomi  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    instanceType As Type, _
    resourceTypeKind As ResourceTypeKind, _
    baseType As ResourceType, _
    namespaceName As String, _
    name As String, _
    isAbstract As Boolean _
)
'Utilizzo
Dim instanceType As Type
Dim resourceTypeKind As ResourceTypeKind
Dim baseType As ResourceType
Dim namespaceName As String
Dim name As String
Dim isAbstract As Boolean

Dim instance As New ResourceType(instanceType, _
    resourceTypeKind, baseType, namespaceName, _
    name, isAbstract)
public ResourceType(
    Type instanceType,
    ResourceTypeKind resourceTypeKind,
    ResourceType baseType,
    string namespaceName,
    string name,
    bool isAbstract
)
public:
ResourceType(
    Type^ instanceType, 
    ResourceTypeKind resourceTypeKind, 
    ResourceType^ baseType, 
    String^ namespaceName, 
    String^ name, 
    bool isAbstract
)
new : 
        instanceType:Type * 
        resourceTypeKind:ResourceTypeKind * 
        baseType:ResourceType * 
        namespaceName:string * 
        name:string * 
        isAbstract:bool -> ResourceType
public function ResourceType(
    instanceType : Type, 
    resourceTypeKind : ResourceTypeKind, 
    baseType : ResourceType, 
    namespaceName : String, 
    name : String, 
    isAbstract : boolean
)

Parametri

  • instanceType
    Tipo: System.Type
    Tipo CLR che rappresenta il formato all'interno di WCF Data Services?runtime.
  • namespaceName
    Tipo: System.String
    Nome dello spazio dei nomi del tipo di risorsa come stringa.
  • name
    Tipo: System.String
    Nome del tipo di risorsa specificato come stringa.
  • isAbstract
    Tipo: System.Boolean
    Valore booleano che indica se il tipo di risorsa è un tipo astratto.

Vedere anche

Riferimento

ResourceType Classe

Spazio dei nomi System.Data.Services.Providers