C# 클래스 Microsoft.AspNetCore.SignalR.Hub

Provides methods that communicate with SignalR connections that connected to a Hub.
상속: IHub
파일 보기 프로젝트 열기: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

공개 메소드들

메소드 설명
Dispose ( ) : void
OnConnected ( ) : System.Threading.Tasks.Task

Called when the connection connects to this hub instance.

OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task

Called when a connection disconnects from this hub gracefully or due to a timeout.

OnReconnected ( ) : System.Threading.Tasks.Task

Called when the connection reconnects to this hub instance.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Hub ( ) : System.Threading.Tasks

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Hub() 보호된 메소드

protected Hub ( ) : System.Threading.Tasks
리턴 System.Threading.Tasks

OnConnected() 공개 메소드

Called when the connection connects to this hub instance.
public OnConnected ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnDisconnected() 공개 메소드

Called when a connection disconnects from this hub gracefully or due to a timeout.
public OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task
stopCalled bool /// true, if stop was called on the client closing the connection gracefully; /// false, if the connection has been lost for longer than the /// . /// Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. ///
리턴 System.Threading.Tasks.Task

OnReconnected() 공개 메소드

Called when the connection reconnects to this hub instance.
public OnReconnected ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task