EventSourceStreamReader.Opened Property

.NET Framework 4

Gets or sets the action to invoke when the connection is open.

Namespace:  Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Property Opened As Action 
    Get 
    Set
'Usage
Dim instance As EventSourceStreamReader 
Dim value As Action 

value = instance.Opened

instance.Opened = value
public Action Opened { get; set; }
public:
property Action^ Opened {
    Action^ get ();
    void set (Action^ value);
}
member Opened : Action with get, set
function get Opened () : Action 
function set Opened (value : Action)

Property Value

Type: System.Action
The action to invoke when the connection is open.

See Also

Reference

EventSourceStreamReader Class

Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents Namespace