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 (ContactInfo, String, String, Int32, String, String)

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(
    	ContactInfo from,
    	string eventName,
    	string entityTag,
    	int expires,
    	string body,
    	string contentType
    )

    Public Function ModifyEventState (
    	from As ContactInfo,
    	eventName As String,
    	entityTag As String,
    	expires As Integer,
    	body As String,
    	contentType As String
    ) As RequestResponse

#### Parameters

from
  Type: Independentsoft.Sip
  ContactInfo
  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.
body
  Type: System
  String
  A string contains event state information.
contentType
  Type: System
  String
  Content type of the body.

#### Return Value

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

#### Reference

SipClient Class
ModifyEventState Overload
Independentsoft.Sip Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de