Share via


ITransport.Received Property

.NET Framework 4

Gets or sets a callback that is invoked when the transport receives data.

Namespace:  Microsoft.AspNet.SignalR.Transports
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Property Received As Func(Of String, Task)
    Get 
    Set
'Usage
Dim instance As ITransport 
Dim value As Func(Of String, Task)

value = instance.Received

instance.Received = value
Func<string, Task> Received { get; set; }
property Func<String^, Task^>^ Received {
    Func<String^, Task^>^ get ();
    void set (Func<String^, Task^>^ value);
}
abstract Received : Func<string, Task> with get, set
function get Received () : Func<String, Task>
function set Received (value : Func<String, Task>)

Property Value

Type: System.Func<String, Task>
Returns Func<T, TResult>.

See Also

Reference

ITransport Interface

Microsoft.AspNet.SignalR.Transports Namespace