C# Класс Microsoft.Common.Core.Threading.DelayedAsyncAction

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

DelayedAsyncAction() публичный Метод

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
Результат System

Invoke() публичный Метод

public Invoke ( Func action = null ) : void
action Func
Результат void