IGroupManager.Remove Method
.NET Framework 4
Removes a connection from the specified group.
Namespace: Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Function Remove ( _
connectionId As String, _
groupName As String _
) As Task
'Usage
Dim instance As IGroupManager
Dim connectionId As String
Dim groupName As String
Dim returnValue As Task
returnValue = instance.Remove(connectionId, _
groupName)
Task Remove(
string connectionId,
string groupName
)
Task^ Remove(
String^ connectionId,
String^ groupName
)
abstract Remove :
connectionId:string *
groupName:string -> Task
function Remove(
connectionId : String,
groupName : String
) : Task
Parameters
- connectionId
Type: System.String
The connection id to remove from the group.
- groupName
Type: System.String
The name of the group
Return Value
Type: System.Threading.Tasks.Task
A task that represents the connection id being removed from the group.