Ozeki VoIP SDK Class library
ToContactHeader Method (address, addSpecType, transportType, expires)
NamespacesOzeki.VoIP.SIPSIPAddressExToContactHeader(SIPAddress, AddrSpecType, TransportType, Nullable<(Of <<'(Int32>)>>))
Declaration Syntax
C#Visual BasicVisual C++
public static Contact ToContactHeader(
	this SIPAddress address,
	AddrSpecType addSpecType,
	TransportType transportType,
	Nullable<int> expires = null
)
<ExtensionAttribute> 
Public Shared Function ToContactHeader ( 
	address As SIPAddress,
	addSpecType As AddrSpecType,
	transportType As TransportType,
	Optional expires As Nullable(Of Integer) = Nothing
) As Contact
public:
[ExtensionAttribute]
static Contact^ ToContactHeader(
	SIPAddress^ address, 
	AddrSpecType addSpecType, 
	TransportType transportType, 
	Nullable<int> expires = nullptr
)
Parameters
address (SIPAddress)
addSpecType (AddrSpecType)
transportType (TransportType)
expires (Nullable<(Of <(<'Int32>)>)>) (Optional)
Return Value
Contact
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type SIPAddress. When you use instance method syntax to call this method, omit the first parameter.

Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 10.1.12.90