Compartilhar via


AsyncReaderWriterResourceLock<TMoniker, TResource>.SetResourceAsAccessed Method (TResource)

Microsoft internal only. Marks a resource as having been retrieved under a lock.

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

Syntax

'Declaration
Protected Sub SetResourceAsAccessed ( _
    resource As TResource _
)
protected void SetResourceAsAccessed(
    TResource resource
)
protected:
void SetResourceAsAccessed(
    TResource resource
)
member SetResourceAsAccessed : 
        resource:'TResource -> unit
protected function SetResourceAsAccessed(
    resource : TResource
)

Parameters

  • resource
    Type: TResource

    The type of the resource.

.NET Framework Security

See Also

Reference

AsyncReaderWriterResourceLock<TMoniker, TResource> Class

SetResourceAsAccessed Overload

Microsoft.VisualStudio.Threading Namespace