Compartilhar via


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

Definição

Informa às IHubProtocol implementações qual é o tipo esperado de um resultado de conexão.

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

Parâmetros

invocationId
String

A ID da invocação em andamento.

type
Type

O tipo que a conexão deve enviar. Ou RawResult se o resultado for destinado a outro servidor.

Retornos

Aplica-se a