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
- ScriptMethodAttribute.cs
- _ListenerResponseStream.cs
- CursorConverter.cs
- RuleSettings.cs
- Ppl.cs
- RepeatBehavior.cs
- DataGridColumnDropSeparator.cs
- SafeProcessHandle.cs
- Events.cs
- MetadataItemEmitter.cs
- VideoDrawing.cs
- PrinterResolution.cs
- NativeWindow.cs
- MimePart.cs
- PropertyDescriptorGridEntry.cs
- Bits.cs
- JoinElimination.cs
- XsltConvert.cs
- TextContainerChangedEventArgs.cs
- CustomTypeDescriptor.cs
- FontConverter.cs
- RenameRuleObjectDialog.Designer.cs
- ColorConvertedBitmapExtension.cs
- MenuItemBindingCollection.cs
- MessageHeaderInfoTraceRecord.cs
- Evaluator.cs
- XsdBuildProvider.cs
- MarkupObject.cs
- TimeSpan.cs
- DataException.cs
- XamlFilter.cs
- CompilerTypeWithParams.cs
- UserControlParser.cs
- DrawTreeNodeEventArgs.cs
- ParenExpr.cs
- SHA512Managed.cs
- LicenseException.cs
- AutomationPatternInfo.cs
- EventsTab.cs
- ServiceParser.cs
- SessionStateUtil.cs
- CommandValueSerializer.cs
- ObjectDataSourceView.cs
- FormViewInsertEventArgs.cs
- TextServicesCompartmentEventSink.cs
- ImageConverter.cs
- StreamWriter.cs
- BuilderInfo.cs
- ColorBuilder.cs
- PropagatorResult.cs
- LinqDataSourceUpdateEventArgs.cs
- DesignTimeType.cs
- AttributeEmitter.cs
- RtfControls.cs
- RegistrySecurity.cs
- OleServicesContext.cs
- SoapAttributeAttribute.cs
- EntityChangedParams.cs
- GiveFeedbackEvent.cs
- ZipArchive.cs
- MetabaseServerConfig.cs
- CommonProperties.cs
- SectionUpdates.cs
- _LoggingObject.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- NavigatorInput.cs
- FeatureSupport.cs
- ListControl.cs
- WebPartHelpVerb.cs
- LockCookie.cs
- PeerDefaultCustomResolverClient.cs
- hresults.cs
- TextRangeEditTables.cs
- ExtentJoinTreeNode.cs
- XdrBuilder.cs
- InvalidOperationException.cs
- DataRowView.cs
- TextSelectionHighlightLayer.cs
- processwaithandle.cs
- Int32Converter.cs
- DesignerLoader.cs
- Transactions.cs
- XmlHelper.cs
- TreeNodeClickEventArgs.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TableLayoutCellPaintEventArgs.cs
- XamlSerializationHelper.cs
- SQLInt16Storage.cs
- ObjectMaterializedEventArgs.cs
- MediaContextNotificationWindow.cs
- ComponentEvent.cs
- SHA1.cs
- RsaSecurityTokenAuthenticator.cs
- SchemaNames.cs
- _KerberosClient.cs
- Propagator.cs
- LabelDesigner.cs
- BufferedGenericXmlSecurityToken.cs
- TreeBuilder.cs
- DataTableCollection.cs