Share via


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

Definition

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

public virtual bool TryGetReturnType (string invocationId, out Type? type);
abstract member TryGetReturnType : string * Type -> bool
override this.TryGetReturnType : string * Type -> bool
Public Overridable 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