ICriticalNotifyCompletion.UnsafeOnCompleted(Action) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Schedules the continuation action that's invoked when the instance completes.
public:
void UnsafeOnCompleted(Action ^ continuation);
[System.Security.SecurityCritical]
public void UnsafeOnCompleted (Action continuation);
public void UnsafeOnCompleted (Action continuation);
[<System.Security.SecurityCritical>]
abstract member UnsafeOnCompleted : Action -> unit
abstract member UnsafeOnCompleted : Action -> unit
Public Sub UnsafeOnCompleted (continuation As Action)
Parameters
- continuation
- Action
The action to invoke when the operation completes.
- Attributes
Exceptions
The continuation
argument is null (Nothing in Visual Basic).
Remarks
Unlike OnCompleted, UnsafeOnCompleted doesn't have to propagate ExecutionContext information.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.