Export (0) Print
Expand All

Thread.VolatileRead Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.

Overload List

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef Byte) As Byte
[C#] public static byte VolatileRead(ref byte);
[C++] public: static unsigned char VolatileRead(unsigned char*);
[JScript] public static function VolatileRead(Byte) : Byte;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef Double) As Double
[C#] public static double VolatileRead(ref double);
[C++] public: static double VolatileRead(double*);
[JScript] public static function VolatileRead(double) : double;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef Short) As Short
[C#] public static short VolatileRead(ref short);
[C++] public: static short VolatileRead(short*);
[JScript] public static function VolatileRead(Int16) : Int16;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef Integer) As Integer
[C#] public static int VolatileRead(ref int);
[C++] public: static int VolatileRead(int*);
[JScript] public static function VolatileRead(int) : int;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef Long) As Long
[C#] public static long VolatileRead(ref long);
[C++] public: static __int64 VolatileRead(__int64*);
[JScript] public static function VolatileRead(long) : long;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef IntPtr) As IntPtr
[C#] public static IntPtr VolatileRead(ref IntPtr);
[C++] public: static IntPtr VolatileRead(IntPtr*);
[JScript] public static function VolatileRead(IntPtr) : IntPtr;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef Object) As Object
[C#] public static object VolatileRead(ref object);
[C++] public: static Object* VolatileRead(Object**);
[JScript] public static function VolatileRead(Object) : Object;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. This method is not CLS-compliant.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef SByte) As SByte
[C#] public static sbyte VolatileRead(ref sbyte);
[C++] public: static char VolatileRead(char*);
[JScript] public static function VolatileRead(SByte) : SByte;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef Single) As Single
[C#] public static float VolatileRead(ref float);
[C++] public: static float VolatileRead(float*);
[JScript] public static function VolatileRead(float) : float;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. This method is not CLS-compliant.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef UInt16) As UInt16
[C#] public static ushort VolatileRead(ref ushort);
[C++] public: static unsigned short VolatileRead(unsigned short*);
[JScript] public static function VolatileRead(UInt16) : UInt16;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. This method is not CLS-compliant.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef UInt32) As UInt32
[C#] public static uint VolatileRead(ref uint);
[C++] public: static unsigned int VolatileRead(unsigned int*);
[JScript] public static function VolatileRead(UInt32) : UInt32;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. This method is not CLS-compliant.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef UInt64) As UInt64
[C#] public static ulong VolatileRead(ref ulong);
[C++] public: static unsigned __int64 VolatileRead(unsigned __int64*);
[JScript] public static function VolatileRead(UInt64) : UInt64;

Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. This method is not CLS-compliant.

[Visual Basic] Overloads Public Shared Function VolatileRead(ByRef UIntPtr) As UIntPtr
[C#] public static UIntPtr VolatileRead(ref UIntPtr);
[C++] public: static UIntPtr VolatileRead(UIntPtr*);
[JScript] public static function VolatileRead(UIntPtr) : UIntPtr;

See Also

Thread Class | Thread Members | System.Threading Namespace

Show:
© 2015 Microsoft