DataServiceContext.DefaultResolveType Method

Determines the type that

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Protected Function DefaultResolveType ( _
    typeName As String, _
    fullNamespace As String, _
    languageDependentNamespace As String _
) As Type
'Usage
Dim typeName As String 
Dim fullNamespace As String 
Dim languageDependentNamespace As String 
Dim returnValue As Type 

returnValue = Me.DefaultResolveType(typeName, _
    fullNamespace, languageDependentNamespace)
protected Type DefaultResolveType(
    string typeName,
    string fullNamespace,
    string languageDependentNamespace
)
protected:
Type^ DefaultResolveType(
    String^ typeName, 
    String^ fullNamespace, 
    String^ languageDependentNamespace
)
member DefaultResolveType : 
        typeName:string * 
        fullNamespace:string * 
        languageDependentNamespace:string -> Type
protected function DefaultResolveType(
    typeName : String, 
    fullNamespace : String, 
    languageDependentNamespace : String
) : Type

Parameters

  • languageDependentNamespace
    Type: System.String
    Namespace of the type, can be different in VB than the fullNamespace.

Return Value

Type: System.Type
Type that the name resolved to or null if none found.

Remarks

Function was added for Portable Lib support to handle the differences in accessing the assembly of the context.

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace