DefaultHubLifetimeManager<THub>.TryGetReturnType(String, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tells IHubProtocol implementations what the expected type from a connection result is.
public override bool TryGetReturnType (string invocationId, out Type? type);
override this.TryGetReturnType : string * Type -> bool
Public Overrides 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.