SynchronizationExtensions.WaitToWrite Method

TegoOS

SynchronizationExtensionsWaitToWrite Method
Example use: using (rwLock.WaitToWrite()) {...}

Namespace: Tego.Utils
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public static IDisposable WaitToWrite(
	this ReaderWriterLockSlim rwLock
)
<ExtensionAttribute>
Public Shared Function WaitToWrite ( 
	rwLock As ReaderWriterLockSlim
) As IDisposable
public:
[ExtensionAttribute]
static IDisposable^ WaitToWrite(
	ReaderWriterLockSlim^ rwLock
)
[<ExtensionAttribute>]
static member WaitToWrite : 
        rwLock : ReaderWriterLockSlim -> IDisposable 

Parameters

rwLock
Type: System.ThreadingReaderWriterLockSlim

[Missing <param name="rwLock"/> documentation for "M:Tego.Utils.SynchronizationExtensions.WaitToWrite(System.Threading.ReaderWriterLockSlim)"]

Return Value

Type: IDisposable

[Missing <returns> documentation for "M:Tego.Utils.SynchronizationExtensions.WaitToWrite(System.Threading.ReaderWriterLockSlim)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ReaderWriterLockSlim. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also