Room.BeginSendMessage method (String, RoomMessageType, AsyncCallback, Object)
Sends a plain text message to this room.
Namespace: Microsoft.Lync.Model.Room
Assembly: Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)
Syntax
'Declaration
Public Function BeginSendMessage ( _
text As String, _
type As RoomMessageType, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As Room
Dim text As String
Dim type As RoomMessageType
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginSendMessage(text, _
type, callback, state)
public IAsyncResult BeginSendMessage(
string text,
RoomMessageType type,
AsyncCallback callback,
Object state
)
Parameters
- text
Type: System.String
- type
Type: Microsoft.Lync.Model.Room.RoomMessageType
- callback
Type: System.AsyncCallback
- state
Type: System.Object
Return value
Type: System.IAsyncResult