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

ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

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
return System

Invoke() public method

public Invoke ( Func action = null ) : void
action Func
return void