Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Return the actual Locks that should be applied to the specified Store given a set of proposed Locks.
Namespace: Microsoft.VisualStudio.Modeling.Immutability
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Function RefineLocks ( _
store As Store, _
proposedLocks As Locks _
) As Locks
Locks RefineLocks(
Store store,
Locks proposedLocks
)
Locks RefineLocks(
Store^ store,
Locks proposedLocks
)
abstract RefineLocks :
store:Store *
proposedLocks:Locks -> Locks
function RefineLocks(
store : Store,
proposedLocks : Locks
) : Locks
Parameters
- store
Type: Microsoft.VisualStudio.Modeling.Store
The Store whose lock flags are being manipulated
- proposedLocks
Type: Microsoft.VisualStudio.Modeling.Immutability.Locks
The new set of store Locks requested through Store.SetLocks
Return Value
Type: Microsoft.VisualStudio.Modeling.Immutability.Locks
The actual set of locks to apply, which may include additional locks, or be a subset.
Remarks
This extension point is called when an attempt is made to apply locks to a Store through the Immutability API. It allows the owner of the Store to apply policy in deciding what locks can be applied or removed.
.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.