FuturesAsk Method (ICanTell, Object, NullableTimeSpan) |
[Missing <summary> documentation for "M:Akka.Actor.Futures.Ask(Akka.Actor.ICanTell,System.Object,System.Nullable{System.TimeSpan})"]
Namespace: Akka.ActorAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic static Task<Object> Ask(
this ICanTell self,
Object message,
Nullable<TimeSpan> timeout = null
)
<ExtensionAttribute>
Public Shared Function Ask (
self As ICanTell,
message As Object,
Optional timeout As Nullable(Of TimeSpan) = Nothing
) As Task(Of Object)
public:
[ExtensionAttribute]
static Task<Object^>^ Ask(
ICanTell^ self,
Object^ message,
Nullable<TimeSpan> timeout = nullptr
)
[<ExtensionAttribute>]
static member Ask :
self : ICanTell *
message : Object *
?timeout : Nullable<TimeSpan>
(* Defaults:
let _timeout = defaultArg timeout null
*)
-> Task<Object>
Parameters
- self
- Type: Akka.ActorICanTell
[Missing <param name="self"/> documentation for "M:Akka.Actor.Futures.Ask(Akka.Actor.ICanTell,System.Object,System.Nullable{System.TimeSpan})"]
- message
- Type: SystemObject
[Missing <param name="message"/> documentation for "M:Akka.Actor.Futures.Ask(Akka.Actor.ICanTell,System.Object,System.Nullable{System.TimeSpan})"]
- timeout (Optional)
- Type: SystemNullableTimeSpan
[Missing <param name="timeout"/> documentation for "M:Akka.Actor.Futures.Ask(Akka.Actor.ICanTell,System.Object,System.Nullable{System.TimeSpan})"]
Return Value
Type:
TaskObject[Missing <returns> documentation for "M:Akka.Actor.Futures.Ask(Akka.Actor.ICanTell,System.Object,System.Nullable{System.TimeSpan})"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ICanTell. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also