共用方式為


HubLifetimeManager<THub>.TryGetReturnType(String, Type) 方法

定義

IHubProtocol告知實作連接結果的預期型別為何。

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

參數

invocationId
String

進行中調用的識別碼。

type
Type

預期連線要傳送的類型。 或者 RawResult ,如果結果適用于另一部伺服器。

傳回

適用於