All mighty constructor, exposing whole set of parameters. Beside standard function of indicating service to client, it can also replace or delete old SI message by specifying apropriate ID.

Namespace: hr.tis.mgw.client.message.wap
Assembly:   mgw2-client-1.0.6 (in mgw2-client-1.0.6)
Version: 2.1.0.6

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	text As String, _
	uri As Uri, _
	action As Action, _
	creationTime As DateTime, _
	expirationTime As DateTime, _
	id As String, _
	items As InfoItem() _
)
C#
public PushSIMessage (
	string text,
	Uri uri,
	Action action,
	DateTime creationTime,
	DateTime expirationTime,
	string id,
	InfoItem[] items
)
Visual C++
public:
PushSIMessage (
	String^ text, 
	Uri^ uri, 
	Action^ action, 
	DateTime creationTime, 
	DateTime expirationTime, 
	String^ id, 
	array<InfoItem^>^ items
)

Parameters

text
System.String
textual service (URI) description
uri
System.Uri
specifies the URI that is used to access the service. If it is empty, or omitted, the message corresponds to a notification (no service can be initiated)
action
hr.tis.mgw.client.message.wap.Action
specifies the action to be taken when the SI is received
creationTime
System.DateTime
specifies the time associated with the creation or last modification of the content indicated by URI, which may differ from the time when the SI was created
expirationTime
System.DateTime
specifies the time when the SI expires and thereby be automatically deleted or marked as 'expired'. If this argument is not specified, the SI never expires and is thus not subject to automatic deletion
id
System.String
provides identity in order to make it possible to distinguish between different SIs. If this argument is not specified, its value is considered to be the same as the value of the URI argument
items
hr.tis.mgw.client.message.wap.InfoItem[]
these specify additional arguments, specially interpreted by client