ConnectionMessage Constructor (String, Object)
.NET Framework 4
Initializes a new instance of the ConnectionMessage class.
Namespace: Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Sub New ( _
signal As String, _
value As Object _
)
'Usage
Dim signal As String
Dim value As Object
Dim instance As New ConnectionMessage(signal, _
value)
public ConnectionMessage(
string signal,
Object value
)
public:
ConnectionMessage(
String^ signal,
Object^ value
)
new :
signal:string *
value:Object -> ConnectionMessage
public function ConnectionMessage(
signal : String,
value : Object
)
Parameters
- signal
Type: System.String
The signal.
- value
Type: System.Object
The payload of the message.