Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Shared Function ApplyChangeOptimistically(Of T As Class) ( _
ByRef hotLocation As T, _
applyChange As Func(Of T, T) _
) As Boolean
public static bool ApplyChangeOptimistically<T>(
ref T hotLocation,
Func<T, T> applyChange
)
where T : class
public:
generic<typename T>
where T : ref class
static bool ApplyChangeOptimistically(
T% hotLocation,
Func<T, T>^ applyChange
)
static member ApplyChangeOptimistically :
hotLocation:'T byref *
applyChange:Func<'T, 'T> -> bool when 'T : not struct
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- hotLocation
Type: T%
- applyChange
Type: System.Func<T, T>
Return Value
Type: System.Boolean
.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.