SendNews
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 02 September 2020 12:16 PM

Syntax

Public Function SendNew(News as VertexFXNewsSvrAPI.CNew) As Boolean 

Description

This Function sends the news of type CNew to the connected clients. After sendNew method executes with acceptance, the NewSent event fires.

Parameters

Returns a Boolean value representing the condition of sending process.

Sample 

 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




See Also


VertexFX News API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions