CSharpTest.Net
TryWrite Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Synchronization Namespace > ReservedWriteLocking Class : TryWrite Method

millisecondsTimeout

Glossary Item Box

The first call reserves the Write lock for the current thread but does not stop reader access until the write lock is acquired again.

Syntax

Visual Basic (Declaration) 
Public Overridable Function TryWrite( _
   ByVal millisecondsTimeout As Integer _
) As Boolean
C# 
public virtual bool TryWrite( 
   int millisecondsTimeout
)

Parameters

millisecondsTimeout

Exceptions

ExceptionDescription
System.ObjectDisposedExceptionThe exception that is thrown when an operation is performed on a disposed object.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys