Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public Subscription(
IUserAgentInstance owner,
string id,
DialogID dialogID,
SIPAddress account,
SIPAddress contact,
TransportInfo transport,
string eventType,
SIPDialogSide side,
int expires = 30,
int eventId = 0,
bool refresh = true,
string phoneNumber = ""
)
Public Sub New (
owner As IUserAgentInstance,
id As String,
dialogID As DialogID,
account As SIPAddress,
contact As SIPAddress,
transport As TransportInfo,
eventType As String,
side As SIPDialogSide,
Optional expires As Integer = 30,
Optional eventId As Integer = 0,
Optional refresh As Boolean = true,
Optional phoneNumber As String = ""
)
public:
Subscription(
IUserAgentInstance^ owner,
String^ id,
DialogID^ dialogID,
SIPAddress^ account,
SIPAddress^ contact,
TransportInfo^ transport,
String^ eventType,
SIPDialogSide side,
int expires = 30,
int eventId = 0,
bool refresh = true,
String^ phoneNumber = L""
)
new :
owner : IUserAgentInstance *
id : string *
dialogID : DialogID *
account : SIPAddress *
contact : SIPAddress *
transport : TransportInfo *
eventType : string *
side : SIPDialogSide *
?expires : int *
?eventId : int *
?refresh : bool *
?phoneNumber : string
(* Defaults:
let _expires = defaultArg expires 30
let _eventId = defaultArg eventId 0
let _refresh = defaultArg refresh true
let _phoneNumber = defaultArg phoneNumber ""
*)
-> Subscription
Parameters
- owner
- Type: Ozeki.VoIPIUserAgentInstance
- id
- Type: SystemString
- dialogID
- Type: Ozeki.VoIPDialogID
- account
- Type: Ozeki.VoIPSIPAddress
- contact
- Type: Ozeki.VoIPSIPAddress
- transport
- Type: Ozeki.NetworkTransportInfo
- eventType
- Type: SystemString
- side
- Type: Ozeki.VoIPSIPDialogSide
- expires (Optional)
- Type: SystemInt32
- eventId (Optional)
- Type: SystemInt32
- refresh (Optional)
- Type: SystemBoolean
- phoneNumber (Optional)
- Type: SystemString
See Also