Share via


MailboxProcessor.DefaultTimeout<'Msg> プロパティ (F#)

現在の既定のタイムアウトを取得または設定します。

名前空間/モジュール パス: Microsoft.FSharp.Control

アセンブリ: FSharp.Core (FSharp.Core.dll 内)

// Signatures:
member this.DefaultTimeout :  int with get, set

// Usage:
mailboxProcessor.DefaultTimeout
mailboxProcessor.DefaultTimeout <- defaultTimeout

パラメーター

  • value
    型: int

    タイムアウト (ミリ秒単位)。

解説

MailboxProcessor は、この時間内にメッセージが受信されない場合に、タイムアウト例外を発生させます。このプロパティが設定されない場合、タイムアウトは使用されません。

プラットフォーム

Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2

バージョン情報

F# コア ライブラリのバージョン

サポート: ポータブル 2.0、4.0

参照

関連項目

Control.MailboxProcessor<'Msg> クラス (F#)

Microsoft.FSharp.Control 名前空間 (F#)