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
- SQLDecimal.cs
- ZipIOExtraFieldZip64Element.cs
- SqlTypesSchemaImporter.cs
- WizardStepBase.cs
- ChangePassword.cs
- BinaryParser.cs
- CompilationUnit.cs
- MetaTable.cs
- SlotInfo.cs
- CodeBlockBuilder.cs
- ArrangedElementCollection.cs
- GZipDecoder.cs
- DataServiceStreamResponse.cs
- EventHandlersDesigner.cs
- CompositeDuplexBindingElementImporter.cs
- DesigntimeLicenseContext.cs
- Subtract.cs
- BamlCollectionHolder.cs
- SiteMapNodeItem.cs
- OdbcReferenceCollection.cs
- ListViewSelectEventArgs.cs
- StateMachine.cs
- __ConsoleStream.cs
- DateTimeConstantAttribute.cs
- WorkflowQueue.cs
- BufferModesCollection.cs
- EntityContainerAssociationSet.cs
- safex509handles.cs
- _DomainName.cs
- EndOfStreamException.cs
- MemberMaps.cs
- TileBrush.cs
- DataGridColumn.cs
- XNodeValidator.cs
- RelationalExpressions.cs
- DrawListViewColumnHeaderEventArgs.cs
- ModulesEntry.cs
- EntityDataSourceDataSelectionPanel.cs
- HtmlMeta.cs
- FolderBrowserDialog.cs
- EntityConnectionStringBuilder.cs
- InputProviderSite.cs
- _AutoWebProxyScriptHelper.cs
- AutoGeneratedField.cs
- ContextStack.cs
- ThreadExceptionDialog.cs
- TypeDelegator.cs
- OwnerDrawPropertyBag.cs
- PropertyDescriptorGridEntry.cs
- BamlTreeMap.cs
- LineServicesCallbacks.cs
- HtmlTable.cs
- __ComObject.cs
- RayMeshGeometry3DHitTestResult.cs
- CustomAttributeSerializer.cs
- ObjectStateFormatter.cs
- SqlReorderer.cs
- ErrorsHelper.cs
- CodeIdentifiers.cs
- MessageSmuggler.cs
- Identity.cs
- XmlSchemaSimpleContent.cs
- Substitution.cs
- BooleanAnimationBase.cs
- BufferModesCollection.cs
- AppLevelCompilationSectionCache.cs
- ManipulationCompletedEventArgs.cs
- OleDbConnection.cs
- OdbcCommand.cs
- TimeSpanValidatorAttribute.cs
- Wildcard.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- TreeNodeBinding.cs
- NGCSerializerAsync.cs
- PersonalizableAttribute.cs
- PolyLineSegment.cs
- TailCallAnalyzer.cs
- MenuScrollingVisibilityConverter.cs
- GridViewRowPresenter.cs
- HtmlControlAdapter.cs
- WorkItem.cs
- Line.cs
- DocumentGridContextMenu.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ResolveMatchesMessage11.cs
- TableLayoutStyleCollection.cs
- IntersectQueryOperator.cs
- Permission.cs
- PreProcessInputEventArgs.cs
- latinshape.cs
- CheckPair.cs
- CheckBoxList.cs
- PartialList.cs
- Dispatcher.cs
- LockedAssemblyCache.cs
- Axis.cs
- HostExecutionContextManager.cs
- GridViewCellAutomationPeer.cs
- WebBrowserHelper.cs
- BaseTemplateParser.cs