Partager via


IHub.Context Property

.NET Framework 4

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

Syntax

'Declaration
Property Context As HubCallerContext 
    Get 
    Set
'Usage
Dim instance As IHub 
Dim value As HubCallerContext 

value = instance.Context

instance.Context = value
HubCallerContext Context { get; set; }
property HubCallerContext^ Context {
    HubCallerContext^ get ();
    void set (HubCallerContext^ value);
}
abstract Context : HubCallerContext with get, set
function get Context () : HubCallerContext 
function set Context (value : HubCallerContext)

Property Value

Type: Microsoft.AspNet.SignalR.Hubs.HubCallerContext
Returns HubCallerContext.

See Also

Reference

IHub Interface

Microsoft.AspNet.SignalR.Hubs Namespace