Export (0) Print
Expand All

MulticastNotSupportedException Class

The exception that is thrown when there is an attempt to combine two instances of a non-combinable delegate type unless one of the operands is a null reference (Nothing in Visual Basic). This class cannot be inherited.

For a list of all members of this type, see MulticastNotSupportedException Members.

System.Object
   System.Exception
      System.SystemException
         System.MulticastNotSupportedException

[Visual Basic]
<Serializable>
NotInheritable Public Class MulticastNotSupportedException
   Inherits SystemException
[C#]
[Serializable]
public sealed class MulticastNotSupportedException :
   SystemException
[C++]
[Serializable]
public __gc __sealed class MulticastNotSupportedException : public
   SystemException
[JScript]
public
   Serializable
class MulticastNotSupportedException extends SystemException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

A valid delegate combination is made when one or both operands is a combinable delegate type. If both operands are non-combinable delegate type, then one operand must be a null reference (Nothing in Visual Basic). A combinable delegate type must satisfy the following conditions:

  • The declared return type of the delegate must be void.
  • None of the parameters of the delegate type can be declared as output parameters.

A multicast delegate instance is created by combining two or more delegate instances that are not a null reference. For more information, see MulticastDelegate.

MulticastNotSupportedException uses the HRESULT COR_E_MULTICASTNOTSUPPORTED, that has the value 0x80131514.

For a list of initial property values for an instance of MulticastNotSupportedException, see the MulticastNotSupportedException constructors.

Requirements

Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

MulticastNotSupportedException Members | System Namespace | Exception | MulticastDelegate | Handling and Throwing Exceptions

Show:
© 2014 Microsoft