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

Definicja

Informuje IHubProtocol implementacje oczekiwanego typu z wyniku połączenia.

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

Parametry

invocationId
String

Identyfikator wywołania w toku.

type
Type

Typ, który ma zostać wysłany przez połączenie. Lub RawResult jeśli wynik jest przeznaczony dla innego serwera.

Zwraca

Dotyczy