共用方式為


ScaleoutHubLifetimeManagerTests<TBackplane> 類別

定義

支援伺服器向外延展之存留期管理員實作的基底測試類別。

generic <typename TBackplane>
public ref class ScaleoutHubLifetimeManagerTests abstract : Microsoft::AspNetCore::SignalR::Specification::Tests::HubLifetimeManagerTestsBase<Microsoft::AspNetCore::SignalR::Specification::Tests::MyHub ^>
public abstract class ScaleoutHubLifetimeManagerTests<TBackplane> : Microsoft.AspNetCore.SignalR.Specification.Tests.HubLifetimeManagerTestsBase<Microsoft.AspNetCore.SignalR.Specification.Tests.MyHub>
public abstract class ScaleoutHubLifetimeManagerTests<TBackplane> : Microsoft.AspNetCore.SignalR.Specification.Tests.HubLifetimeManagerTestsBase<Microsoft.AspNetCore.SignalR.Hub>
type ScaleoutHubLifetimeManagerTests<'Backplane> = class
    inherit HubLifetimeManagerTestsBase<MyHub>
type ScaleoutHubLifetimeManagerTests<'Backplane> = class
    inherit HubLifetimeManagerTestsBase<Hub>
Public MustInherit Class ScaleoutHubLifetimeManagerTests(Of TBackplane)
Inherits HubLifetimeManagerTestsBase(Of MyHub)
Public MustInherit Class ScaleoutHubLifetimeManagerTests(Of TBackplane)
Inherits HubLifetimeManagerTestsBase(Of Hub)

類型參數

TBackplane

與 通訊之後台板 HubLifetimeManager<THub> 的記憶體內部實作。

繼承
ScaleoutHubLifetimeManagerTests<TBackplane>
繼承
ScaleoutHubLifetimeManagerTests<TBackplane>

建構函式

ScaleoutHubLifetimeManagerTests<TBackplane>()

支援伺服器向外延展之存留期管理員實作的基底測試類別。

屬性

Manager
已淘汰.

此 API 已過時,未來版本將會移除。 請改用測試中的 CreateNewHubLifetimeManager。

(繼承來源 HubLifetimeManagerTestsBase<THub>)

方法

AddGroupAsyncForConnectionOnDifferentServerAlreadyInGroupDoesNothing()

SignalR HubLifetimeManager 的規格測試。

AddGroupAsyncForConnectionOnDifferentServerWorks()

SignalR HubLifetimeManager 的規格測試。

AddGroupAsyncForLocalConnectionAlreadyInGroupDoesNothing()

SignalR HubLifetimeManager 的規格測試。

CanCancelClientResult()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnErrorResult()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnErrorResultAcrossServers()

SignalR HubLifetimeManager 的規格測試。

CanProcessClientReturnResult()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnResultAcrossServers()

SignalR HubLifetimeManager 的規格測試。

ClientDisconnectsWithoutCompletingClientResult()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
ClientDisconnectsWithoutCompletingClientResultOnSecondServer()

SignalR HubLifetimeManager 的規格測試。

ClientReturnResultAcrossServersWithWrongReturnedTypeErrors()

SignalR HubLifetimeManager 的規格測試。

ConnectionDoesNotExist_FailsInvokeConnectionAsync()

SignalR HubLifetimeManager 的規格測試。

ConnectionIDNotPresentMultiServerWhenInvokingClientResult()

SignalR HubLifetimeManager 的規格測試。

ConnectionIDNotPresentWhenInvokingClientResult()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
CreateBackplane()

建立記憶體內部後板實作的方法,以用於測試。

CreateNewHubLifetimeManager()

建立 實 HubLifetimeManager<THub> 作的方法,以用於測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
CreateNewHubLifetimeManager(TBackplane)

建立 的 HubLifetimeManager<THub> 實作方法,這個實作使用 來自 CreateBackplane() 的背板。

DisconnectConnectionRemovesConnectionFromGroup()

SignalR HubLifetimeManager 的規格測試。

ExceptionWhenIncorrectClientCompletesClientResult()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
InvocationsFromDifferentServersUseUniqueIDs()

SignalR HubLifetimeManager 的規格測試。

InvokeAllAsyncWithMultipleServersDoesNotWriteToDisconnectedConnectionsOutput()

SignalR HubLifetimeManager 的規格測試。

InvokeAllAsyncWithMultipleServersWritesToAllConnectionsOutput()

SignalR HubLifetimeManager 的規格測試。

InvokeConnectionAsyncForLocalConnectionDoesNotPublishToBackplane()

SignalR HubLifetimeManager 的規格測試。

InvokeConnectionAsyncOnServerWithoutConnectionWritesOutputToConnection()

SignalR HubLifetimeManager 的規格測試。

InvokeGroupAsyncOnServerWithoutConnectionWritesOutputToGroupConnection()

SignalR HubLifetimeManager 的規格測試。

InvokesForMultipleClientsDoNotCollide()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
InvokeUserSendsToAllConnectionsForUser()

SignalR HubLifetimeManager 的規格測試。

RemoveGroupAsyncForConnectionOnDifferentServerWorks()

SignalR HubLifetimeManager 的規格測試。

RemoveGroupFromConnectionOnDifferentServerNotInGroupDoesNothing()

SignalR HubLifetimeManager 的規格測試。

RemoveGroupFromLocalConnectionNotInGroupDoesNothing()

SignalR HubLifetimeManager 的規格測試。

SendAllAsyncDoesNotWriteToDisconnectedConnectionsOutput()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
SendAllAsyncWritesToAllConnectionsOutput()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
SendConnectionAsyncWritesToConnectionOutput()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
SendGroupAsyncWritesToAllConnectionsInGroupOutput()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
SendGroupExceptAsyncDoesNotWriteToExcludedConnections()

SignalR HubLifetimeManager 的規格測試。

(繼承來源 HubLifetimeManagerTestsBase<THub>)
StillSubscribedToUserAfterOneOfMultipleConnectionsAssociatedWithUserDisconnects()

SignalR HubLifetimeManager 的規格測試。

WritingToGroupWithOneConnectionFailingSecondConnectionStillReceivesMessage()

SignalR HubLifetimeManager 的規格測試。

WritingToRemoteConnectionThatFailsDoesNotThrow()

SignalR HubLifetimeManager 的規格測試。

適用於