Share via


DataObjectIdentifierResolver.SlowContractIdentifier Method

Contracts an identifier by whatever means are available.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Protected Overridable Function SlowContractIdentifier ( _
    typeName As String, _
    fullIdentifier As Object() _
) As Object()
protected virtual Object[] SlowContractIdentifier(
    string typeName,
    Object[] fullIdentifier
)
protected:
virtual array<Object^>^ SlowContractIdentifier(
    String^ typeName, 
    array<Object^>^ fullIdentifier
)
abstract SlowContractIdentifier : 
        typeName:string * 
        fullIdentifier:Object[] -> Object[] 
override SlowContractIdentifier : 
        typeName:string * 
        fullIdentifier:Object[] -> Object[] 
protected function SlowContractIdentifier(
    typeName : String, 
    fullIdentifier : Object[]
) : Object[]

Parameters

  • typeName
    Type: System.String

    The name of a type of data object.

  • fullIdentifier
    Type: array<System.Object[]

    A full identifier of a data object.

Return Value

Type: array<System.Object[]
Returns the contracted identifier.

Exceptions

Exception Condition
ArgumentNullException

The typeName parameter is null.

Remarks

This method contracts an identifier using whatever means necessary to achieve the correct contraction. It may perform expensive operations as required. The base implementation delegates to the QuickContractIdentifier method.

The base implementation of the ContractIdentifier method tries to call the QuickContractIdentifier method first, and if that fails to provide a contraction it searches the cache for an existing entry. Finally, if no entry is found, it calls this method as a last resort.

.NET Framework Security

See Also

Reference

DataObjectIdentifierResolver Class

Microsoft.VisualStudio.Data Namespace