Public Function SendNew(News as VertexFXNewsSvrAPI.CNew) As Boolean
This Function sends the news of type CNew to the connected clients. After sendNew method executes with acceptance, the NewSent event fires.
Returns a Boolean value representing the condition of sending process.
Public WithEvents server As new CVertexFXNewsSvr Private Sub SendNew_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SendNew.Click Dim news As New CNew news.NewsDate = Now.ToString news.NewsID = "1" news.NewsSubject = VertexFX news.NewsDetails = "VertexFX news API" Server.SendNew (news) End Sub
Leave A Comment