CancellationToken.UnsafeRegister(Action<Object>, Object) CancellationToken.UnsafeRegister(Action<Object>, Object) CancellationToken.UnsafeRegister(Action<Object>, Object) CancellationToken.UnsafeRegister(Action<Object>, Object) Method

Definition

public:
 System::Threading::CancellationTokenRegistration UnsafeRegister(Action<System::Object ^> ^ callback, System::Object ^ state);
public System.Threading.CancellationTokenRegistration UnsafeRegister (Action<object> callback, object state);
member this.UnsafeRegister : Action<obj> * obj -> System.Threading.CancellationTokenRegistration
Public Function UnsafeRegister (callback As Action(Of Object), state As Object) As CancellationTokenRegistration

Parameters

callback
Action<Object>

Returns

Applies to