HubLifetimeManager<THub>.TryGetReturnType(String, Type) Méthode

Définition

Indique aux IHubProtocol implémentations quel est le type attendu d’un résultat de connexion.

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

Paramètres

invocationId
String

ID de l’appel en cours.

type
Type

Type que la connexion est censée envoyer. Ou RawResult si le résultat est destiné à un autre serveur.

Retours

S’applique à