UtilCopyHeaderT Method (SIPMessage, SIPMessage) |
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static SIPMessage CopyHeader<T>(
this SIPMessage msg,
SIPMessage other
)
where T : Header, ISIPCloneable<T>
<ExtensionAttribute>
Public Shared Function CopyHeader(Of T As {Header, ISIPCloneable(Of T)}) (
msg As SIPMessage,
other As SIPMessage
) As SIPMessage
public:
[ExtensionAttribute]
generic<typename T>
where T : Header, ISIPCloneable<T>
static SIPMessage^ CopyHeader(
SIPMessage^ msg,
SIPMessage^ other
)
[<ExtensionAttribute>]
static member CopyHeader :
msg : SIPMessage *
other : SIPMessage -> SIPMessage when 'T : Header and ISIPCloneable<'T>
Parameters
- msg
- Type: Ozeki.VoIPSIPMessage
- other
- Type: Ozeki.VoIPSIPMessage
Type Parameters
- T
Return Value
Type:
SIPMessageUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SIPMessage. 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