AsyncLocal<T> Class

 

Stores reference types in the CallContext so that they can be marshaled safely.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

System.Object
  Microsoft.VisualStudio.Threading.AsyncLocal<T>

public class AsyncLocal<T>
where T : class

Type Parameters

T

The type of value to store.

NameDescription
System_CAPS_pubmethodAsyncLocal<T>()

Instantiates an instance of AsyncLocal.

NameDescription
System_CAPS_pubpropertyValue

Gets or sets the value to associate with the current CallContext.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

This type is thread-safe for all members.

Return to top
Show: