Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / MulticastNotSupportedException.cs / 1 / 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
- NonBatchDirectoryCompiler.cs
- PartialCachingAttribute.cs
- DataStreams.cs
- ScrollViewerAutomationPeer.cs
- processwaithandle.cs
- ExtractorMetadata.cs
- MethodCallTranslator.cs
- Exception.cs
- PackagePartCollection.cs
- LinkButton.cs
- MultiDataTrigger.cs
- MetabaseSettings.cs
- AsyncOperationManager.cs
- XmlnsDefinitionAttribute.cs
- DynamicPropertyHolder.cs
- DocumentViewerAutomationPeer.cs
- SymmetricAlgorithm.cs
- DbParameterCollectionHelper.cs
- DatePickerTextBox.cs
- Site.cs
- SyncOperationState.cs
- RelatedView.cs
- ConnectionInterfaceCollection.cs
- MetadataCache.cs
- CustomAttributeFormatException.cs
- MonthChangedEventArgs.cs
- XmlCharType.cs
- WindowsListViewItemCheckBox.cs
- Package.cs
- MailFileEditor.cs
- HttpContext.cs
- DriveNotFoundException.cs
- Columns.cs
- ColorMatrix.cs
- SystemUnicastIPAddressInformation.cs
- SymbolMethod.cs
- VirtualizingStackPanel.cs
- WebPartMinimizeVerb.cs
- CharAnimationUsingKeyFrames.cs
- SecurityTokenException.cs
- xsdvalidator.cs
- NavigationFailedEventArgs.cs
- PaperSize.cs
- HijriCalendar.cs
- CroppedBitmap.cs
- JournalEntryListConverter.cs
- TTSEvent.cs
- BamlRecords.cs
- SHA384.cs
- ObsoleteAttribute.cs
- MimeFormatter.cs
- TransportChannelFactory.cs
- UIHelper.cs
- RedirectionProxy.cs
- IndexedGlyphRun.cs
- WindowsListViewGroupHelper.cs
- JsonReaderDelegator.cs
- CLSCompliantAttribute.cs
- DateTimeOffsetConverter.cs
- ToolboxItemAttribute.cs
- NavigationWindowAutomationPeer.cs
- MultiTrigger.cs
- XmlUTF8TextWriter.cs
- ClickablePoint.cs
- MetadataItem_Static.cs
- SelectionProviderWrapper.cs
- CalloutQueueItem.cs
- Binding.cs
- XmlSchemaNotation.cs
- AssemblyCollection.cs
- AnnotationAdorner.cs
- ChannelRequirements.cs
- BoolExpression.cs
- AxHost.cs
- CodeBlockBuilder.cs
- DrawingContextWalker.cs
- ClaimTypeElement.cs
- WsdlWriter.cs
- MergePropertyDescriptor.cs
- ContentControl.cs
- Encoder.cs
- SQLInt32.cs
- EntitySetBase.cs
- SmiMetaDataProperty.cs
- X509Chain.cs
- NodeLabelEditEvent.cs
- HttpApplication.cs
- Rotation3DAnimationBase.cs
- InstancePersistenceCommandException.cs
- TrackingLocationCollection.cs
- TemplateKeyConverter.cs
- ExpandedWrapper.cs
- ExtensionSimplifierMarkupObject.cs
- Pointer.cs
- CallTemplateAction.cs
- Trace.cs
- EntitySqlQueryBuilder.cs
- ResourceDescriptionAttribute.cs
- ItemType.cs
- AuditLogLocation.cs