InternalSIPAddressExToContactHeader Method (SIPAddress, AddrSpecType, TransportType, NullableInt32) |
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax 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
)
[<ExtensionAttribute>]
static member ToContactHeader :
address : SIPAddress *
addSpecType : AddrSpecType *
transportType : TransportType *
?expires : Nullable<int>
(* Defaults:
let _expires = defaultArg expires null
*)
-> Contact
Parameters
- address
- Type: Ozeki.VoIPSIPAddress
- addSpecType
- Type: Ozeki.VoIPAddrSpecType
- transportType
- Type: Ozeki.NetworkTransportType
- expires (Optional)
- Type: SystemNullableInt32
Return Value
Type:
ContactUsage 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. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also