C# Class Microsoft.Common.Core.Threading.DelayedAsyncAction

Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
DelayedAsyncAction ( int timeout, Func action = null ) : System

DelayedAsyncAction invokes action after specified timeout when Invoke is called. If Invoke is called again before timeout, previous invocation request is cancelled and action will be invoked only once

Invoke ( Func action = null ) : void

Method Details

DelayedAsyncAction() public méthode

DelayedAsyncAction invokes action after specified timeout when Invoke is called. If Invoke is called again before timeout, previous invocation request is cancelled and action will be invoked only once
public DelayedAsyncAction ( int timeout, Func action = null ) : System
timeout int
action Func
Résultat System

Invoke() public méthode

public Invoke ( Func action = null ) : void
action Func
Résultat void