DefaultHubLifetimeManager<THub>.TryGetReturnType(String, Type) Method

Definition

Tells IHubProtocol implementations what the expected type from a connection result is.

public override bool TryGetReturnType (string invocationId, out Type? type);
override this.TryGetReturnType : string * Type -> bool
Public Overrides Function TryGetReturnType (invocationId As String, ByRef type As Type) As Boolean

Parameters

invocationId
String

The ID of the in progress invocation.

type
Type

The type the connection is expected to send. Or RawResult if the result is intended for another server.

Returns

Applies to