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: TResourceThe type of the resource.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AsyncReaderWriterResourceLock<TMoniker, TResource> Class