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 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2

バージョン情報

F# ランタイム

サポート対象: 2.0、4.0

Silverlight

サポート: 3

参照

その他の技術情報

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

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