3 // Copyright (c) Microsoft Corporation. All rights reserved.
6 ////////////////////////////////////////////////////////////////////////////////
7 // MulticastNotSupportedException
8 // This is thrown when you add multiple callbacks to a non-multicast delegate.
9 ////////////////////////////////////////////////////////////////////////////////
14 using System.Runtime.Serialization;
15 [System.Runtime.InteropServices.ComVisible(true)]
17 public sealed class MulticastNotSupportedException : SystemException {
19 public MulticastNotSupportedException()
20 : base(Environment.GetResourceString("Arg_MulticastNotSupportedException")) {
21 SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
24 public MulticastNotSupportedException(String message)
26 SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
29 public MulticastNotSupportedException(String message, Exception inner)
30 : base(message, inner) {
31 SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
34 internal MulticastNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) {