| SubscribeUACCreateNewSubscription Method  | 
 
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntaxpublic Subscription CreateNewSubscription(
	IUserAgentInstance owner,
	SIPAddress account,
	SIPAddress contact,
	TransportInfo transportInfo,
	string eventType,
	string phoneNumber = ""
)
Public Function CreateNewSubscription ( 
	owner As IUserAgentInstance,
	account As SIPAddress,
	contact As SIPAddress,
	transportInfo As TransportInfo,
	eventType As String,
	Optional phoneNumber As String = ""
) As Subscription
public:
virtual Subscription^ CreateNewSubscription(
	IUserAgentInstance^ owner, 
	SIPAddress^ account, 
	SIPAddress^ contact, 
	TransportInfo^ transportInfo, 
	String^ eventType, 
	String^ phoneNumber = L""
) sealed
abstract CreateNewSubscription : 
        owner : IUserAgentInstance * 
        account : SIPAddress * 
        contact : SIPAddress * 
        transportInfo : TransportInfo * 
        eventType : string * 
        ?phoneNumber : string 
(* Defaults:
        let _phoneNumber = defaultArg phoneNumber ""
*)
-> Subscription 
override CreateNewSubscription : 
        owner : IUserAgentInstance * 
        account : SIPAddress * 
        contact : SIPAddress * 
        transportInfo : TransportInfo * 
        eventType : string * 
        ?phoneNumber : string 
(* Defaults:
        let _phoneNumber = defaultArg phoneNumber ""
*)
-> Subscription Parameters
- owner
 - Type: Ozeki.VoIPIUserAgentInstance
 - account
 - Type: Ozeki.VoIPSIPAddress
 - contact
 - Type: Ozeki.VoIPSIPAddress
 - transportInfo
 - Type: Ozeki.NetworkTransportInfo
 - eventType
 - Type: SystemString
 - phoneNumber (Optional)
 - Type: SystemString
 
Return Value
Type: 
SubscriptionImplements
ISubscribeSenderUACreateNewSubscription(IUserAgentInstance, SIPAddress, SIPAddress, TransportInfo, String, String)
See Also