Detaches a PhoneCallListener object from the given call.
| C# | Visual Basic | Visual C++ |
public static IPhoneCall DetachListener( this IPhoneCall call, IPhoneCallListener listener )
<ExtensionAttribute> _ Public Shared Function DetachListener ( _ call As IPhoneCall, _ listener As IPhoneCallListener _ ) As IPhoneCall
[ExtensionAttribute] public: static IPhoneCall^ DetachListener( IPhoneCall^ call, IPhoneCallListener^ listener )
- call (IPhoneCall)
- The call.
- listener (IPhoneCallListener)
- The listener.
The call itself.
In Visual Basic and C#, you can call this method as an instance method on any object of type IPhoneCall. When you use instance method syntax to call this method, omit the first parameter.
Detaches all listener function to events of IPhoneCall object properly.