Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / MulticastNotSupportedException.cs / 1305376 / MulticastNotSupportedException.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
////////////////////////////////////////////////////////////////////////////////
// MulticastNotSupportedException
// This is thrown when you add multiple callbacks to a non-multicast delegate.
////////////////////////////////////////////////////////////////////////////////
namespace System {
using System;
using System.Runtime.Serialization;
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable]
public sealed class MulticastNotSupportedException : SystemException {
public MulticastNotSupportedException()
: base(Environment.GetResourceString("Arg_MulticastNotSupportedException")) {
SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
}
public MulticastNotSupportedException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
}
public MulticastNotSupportedException(String message, Exception inner)
: base(message, inner) {
SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
}
internal MulticastNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) {
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
////////////////////////////////////////////////////////////////////////////////
// MulticastNotSupportedException
// This is thrown when you add multiple callbacks to a non-multicast delegate.
////////////////////////////////////////////////////////////////////////////////
namespace System {
using System;
using System.Runtime.Serialization;
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable]
public sealed class MulticastNotSupportedException : SystemException {
public MulticastNotSupportedException()
: base(Environment.GetResourceString("Arg_MulticastNotSupportedException")) {
SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
}
public MulticastNotSupportedException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
}
public MulticastNotSupportedException(String message, Exception inner)
: base(message, inner) {
SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
}
internal MulticastNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) {
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LookupNode.cs
- SqlInfoMessageEvent.cs
- FormViewModeEventArgs.cs
- HttpResponseHeader.cs
- BamlBinaryWriter.cs
- SuppressIldasmAttribute.cs
- DrawingAttributeSerializer.cs
- NavigationService.cs
- SqlTransaction.cs
- DataGridCaption.cs
- SQLStringStorage.cs
- DbConnectionPoolOptions.cs
- DataServiceBuildProvider.cs
- HttpInputStream.cs
- TrackBarRenderer.cs
- XamlInt32CollectionSerializer.cs
- Pair.cs
- RetrieveVirtualItemEventArgs.cs
- WebBrowsableAttribute.cs
- ScrollBarAutomationPeer.cs
- _AuthenticationState.cs
- SQLDateTime.cs
- NetStream.cs
- ButtonRenderer.cs
- PolygonHotSpot.cs
- ConnectionsZone.cs
- HttpHandlerAction.cs
- SafeProcessHandle.cs
- TrackingConditionCollection.cs
- XhtmlStyleClass.cs
- DataBindingList.cs
- Figure.cs
- AutomationElement.cs
- ErrorHandler.cs
- ListenerConnectionModeReader.cs
- PEFileEvidenceFactory.cs
- SoapFault.cs
- MessageQueueKey.cs
- UndoManager.cs
- WindowsGraphicsWrapper.cs
- ScriptingSectionGroup.cs
- ZoneButton.cs
- Pair.cs
- DataGridViewToolTip.cs
- DataGridViewTopLeftHeaderCell.cs
- DbParameterCollectionHelper.cs
- SiteMapNodeItem.cs
- NamespaceQuery.cs
- ToolbarAUtomationPeer.cs
- SymbolEqualComparer.cs
- RequestResponse.cs
- HttpListenerException.cs
- GroupPartitionExpr.cs
- MessageTransmitTraceRecord.cs
- ImageIndexConverter.cs
- BorderGapMaskConverter.cs
- PlatformNotSupportedException.cs
- Registry.cs
- FontFamily.cs
- DataSourceHelper.cs
- DesignerDataTableBase.cs
- DataContext.cs
- DSASignatureDeformatter.cs
- MimeBasePart.cs
- QilTargetType.cs
- DebugTraceHelper.cs
- PlainXmlSerializer.cs
- Pts.cs
- DataBoundControlActionList.cs
- ArgIterator.cs
- DocumentViewerBaseAutomationPeer.cs
- SqlDataSourceQueryEditorForm.cs
- AssemblyBuilder.cs
- EditorZone.cs
- ByteAnimation.cs
- NumericExpr.cs
- InternalConfigRoot.cs
- NameGenerator.cs
- RequiredAttributeAttribute.cs
- MemberRestriction.cs
- Gdiplus.cs
- prompt.cs
- DispatcherObject.cs
- WorkflowEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- FileDialogCustomPlace.cs
- ProjectionNode.cs
- TextFormatter.cs
- SoapObjectReader.cs
- TextProperties.cs
- ListBoxItemAutomationPeer.cs
- GroupByQueryOperator.cs
- ResourceAssociationSet.cs
- ActivityBuilderHelper.cs
- MessageDescriptionCollection.cs
- WebSysDisplayNameAttribute.cs
- NetStream.cs
- XmlWriter.cs
- AppearanceEditorPart.cs
- GPPOINTF.cs