Udostępnij za pośrednictwem


HubResponse Class

.NET Framework 4

The response returned from an incoming hub request.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Hubs.HubResponse

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Class HubResponse
'Usage
Dim instance As HubResponse
public class HubResponse
public ref class HubResponse
type HubResponse =  class end
public class HubResponse

The HubResponse type exposes the following members.

Constructors

  Name Description
Public method HubResponse

Top

Properties

  Name Description
Public property Error The exception that occurs as a result of invoking the hub method.
Public property Id The id of the operation.
Public property Result The result of the invocation.
Public property StackTrace The stack trace of the exception that occurs as a result of invoking the hub method.
Public property State The changes made the round tripped state.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.SignalR.Hubs Namespace