ClientSendMessage Method (String, IListConnection) |
Sends a text message to all the connections of the client.
Namespace: OIV.RemoteViz.RenderingAssembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public bool SendMessage(
string message,
IList<Connection> excludedConnections
)
Public Function SendMessage (
message As String,
excludedConnections As IList(Of Connection)
) As Boolean
public:
bool SendMessage(
String^ message,
IList<Connection^>^ excludedConnections
)
member SendMessage :
message : string *
excludedConnections : IList<Connection> -> bool
Parameters
- message
- Type: SystemString
: the message to be sent to all the connections of the client
- excludedConnections
- Type: System.Collections.GenericIListConnection
: optional - the connections that should not receive the message.
Return Value
Type:
Booleantrue if the message has been successfully sent to all connections, otherwise returns false.
Remarks See Also