Udostępnij za pośrednictwem


GroupManager.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
Public Function Remove ( _
    connectionId As String, _
    groupName As String _
) As Task
'Usage
Dim instance As GroupManager 
Dim connectionId As String 
Dim groupName As String 
Dim returnValue As Task 

returnValue = instance.Remove(connectionId, _
    groupName)
public Task Remove(
    string connectionId,
    string groupName
)
public:
virtual Task^ Remove(
    String^ connectionId, 
    String^ groupName
) sealed
abstract Remove : 
        connectionId:string * 
        groupName:string -> Task  
override Remove : 
        connectionId:string * 
        groupName:string -> Task
public final function Remove(
    connectionId : String, 
    groupName : String
) : Task

Parameters

  • connectionId
    Type: System.String
    The connection id to remove from the group.

Return Value

Type: System.Threading.Tasks.Task
A task that represents the connection id being removed from the group.

Implements

IGroupManager.Remove(String, String)

See Also

Reference

GroupManager Class

Microsoft.AspNet.SignalR Namespace