EventSourceStreamReader.Closed Property
.NET Framework 4
Gets or sets the action to invoke when the reader is closed while in the Processing state.
Namespace: Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Property Closed As Action(Of Exception)
Get
Set
'Usage
Dim instance As EventSourceStreamReader
Dim value As Action(Of Exception)
value = instance.Closed
instance.Closed = value
public Action<Exception> Closed { get; set; }
public:
property Action<Exception^>^ Closed {
Action<Exception^>^ get ();
void set (Action<Exception^>^ value);
}
member Closed : Action<Exception> with get, set
function get Closed () : Action<Exception>
function set Closed (value : Action<Exception>)
Property Value
Type: System.Action<Exception>
The action to invoke when the reader is closed while in the Processing state.
See Also
Reference
Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents Namespace