SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip
SipClient Class
SipClient Methods
ModifyEventState Method
ModifyEventState Method (String, String, String, Int32, PresenceDescription)
ModifyEventState Method (ContactInfo, String, String, Int32, PresenceDescription)
ModifyEventState Method (String, String, String, Int32, String, String)
ModifyEventState Method (ContactInfo, String, String, Int32, String, String)

# SipClient ModifyEventState Method (String, String, String, Int32, PresenceDescription)

Updates existing event state.

Namespace: Independentsoft.Sip
Assembly: Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
C#
VB
Copy

    public RequestResponse ModifyEventState(
    	string from,
    	string eventName,
    	string entityTag,
    	int expires,
    	PresenceDescription presence
    )

    Public Function ModifyEventState (
    	from As String,
    	eventName As String,
    	entityTag As String,
    	expires As Integer,
    	presence As PresenceDescription
    ) As RequestResponse

#### Parameters

from
  Type: System
  String
  A ContactInfo contains address of the sender of the request.
eventName
  Type: System
  String
  A string contains name of the event.
entityTag
  Type: System
  String
  An entity tag of an existing event to modify.
expires
  Type: System
  Int32
  A number of seconds indicates duration of the subscription.
presence
  Type: Independentsoft.Sip.Presence
  PresenceDescription
  A presence description to publish.

#### Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | presence;PresenceDescription is null.

See Also

#### Reference

SipClient Class
ModifyEventState Overload
Independentsoft.Sip Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de