UtilCopyHeaderT Method (SIPMessage, HeaderType, 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,
HeaderType ht,
SIPMessage other
)
where T : Header, ISIPCloneable<T>
<ExtensionAttribute>
Public Shared Function CopyHeader(Of T As {Header, ISIPCloneable(Of T)}) (
msg As SIPMessage,
ht As HeaderType,
other As SIPMessage
) As SIPMessage
public:
[ExtensionAttribute]
generic<typename T>
where T : Header, ISIPCloneable<T>
static SIPMessage^ CopyHeader(
SIPMessage^ msg,
HeaderType ht,
SIPMessage^ other
)
[<ExtensionAttribute>]
static member CopyHeader :
msg : SIPMessage *
ht : HeaderType *
other : SIPMessage -> SIPMessage when 'T : Header and ISIPCloneable<'T>
Parameters
- msg
- Type: Ozeki.VoIPSIPMessage
- ht
- Type: Ozeki.VoIPHeaderType
- 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