Share via


Subscription.Invoke Method

.NET Framework 4

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

Syntax

'Declaration
Public Overridable Function Invoke ( _
    result As MessageResult _
) As Task(Of Boolean)
'Usage
Dim instance As Subscription 
Dim result As MessageResult 
Dim returnValue As Task(Of Boolean)

returnValue = instance.Invoke(result)
public virtual Task<bool> Invoke(
    MessageResult result
)
public:
virtual Task<bool>^ Invoke(
    MessageResult result
)
abstract Invoke : 
        result:MessageResult -> Task<bool> 
override Invoke : 
        result:MessageResult -> Task<bool> 
public function Invoke(
    result : MessageResult
) : Task<boolean>

Parameters

Return Value

Type: System.Threading.Tasks.Task<Boolean>
Returns Task<TResult>.

See Also

Reference

Subscription Class

Microsoft.AspNet.SignalR.Messaging Namespace