HostContextExtensions.InstanceName Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Hosting
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function InstanceName ( _
context As HostContext _
) As String
'Usage
Dim context As HostContext
Dim returnValue As String
returnValue = context.InstanceName()
public static string InstanceName(
this HostContext context
)
[ExtensionAttribute]
public:
static String^ InstanceName(
HostContext^ context
)
static member InstanceName :
context:HostContext -> string
public static function InstanceName(
context : HostContext
) : String
Parameters
- context
Type: Microsoft.AspNet.SignalR.Hosting.HostContext
Return Value
Type: System.String
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type HostContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.100).