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
- ConstructorNeedsTagAttribute.cs
- ResolveMatchesApril2005.cs
- SoapInteropTypes.cs
- Array.cs
- PixelShader.cs
- Rect3DConverter.cs
- SimplePropertyEntry.cs
- Rotation3DAnimationUsingKeyFrames.cs
- PagesSection.cs
- XmlSchemaNotation.cs
- NativeMethods.cs
- StructuralComparisons.cs
- QuotaExceededException.cs
- TriggerActionCollection.cs
- DataGridPagerStyle.cs
- Visitors.cs
- Utils.cs
- _ListenerRequestStream.cs
- DesignTable.cs
- Logging.cs
- UrlPropertyAttribute.cs
- DesignerTextBoxAdapter.cs
- WebBrowserContainer.cs
- HierarchicalDataBoundControlAdapter.cs
- SmtpFailedRecipientsException.cs
- CryptoConfig.cs
- TextViewDesigner.cs
- SqlReferenceCollection.cs
- MiniLockedBorderGlyph.cs
- Point3DCollectionConverter.cs
- Token.cs
- AttachedPropertyMethodSelector.cs
- NavigateEvent.cs
- IsolatedStorageFileStream.cs
- HtmlLink.cs
- ProcessInputEventArgs.cs
- FileDialogCustomPlace.cs
- SspiSecurityTokenProvider.cs
- HttpServerVarsCollection.cs
- UserControl.cs
- Base64Decoder.cs
- PagerSettings.cs
- RoleGroup.cs
- CancellationTokenRegistration.cs
- EdmTypeAttribute.cs
- UnauthorizedWebPart.cs
- InputLanguage.cs
- MediaScriptCommandRoutedEventArgs.cs
- AddInDeploymentState.cs
- TextServicesCompartmentEventSink.cs
- WmpBitmapDecoder.cs
- ApplicationServiceManager.cs
- SafeFileMapViewHandle.cs
- PropertyMetadata.cs
- DbDataReader.cs
- xmlformatgeneratorstatics.cs
- HttpCapabilitiesSectionHandler.cs
- PointCollection.cs
- WCFModelStrings.Designer.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- RangeBase.cs
- _NegoStream.cs
- AsymmetricSignatureFormatter.cs
- ComplexBindingPropertiesAttribute.cs
- AggregateNode.cs
- AnnotationComponentChooser.cs
- DocComment.cs
- SqlProcedureAttribute.cs
- DataMisalignedException.cs
- CultureTable.cs
- PaintEvent.cs
- OpenFileDialog.cs
- XmlSchemaSet.cs
- DebugInfoGenerator.cs
- ObjectDataProvider.cs
- TreeNodeStyleCollection.cs
- MediaSystem.cs
- OuterGlowBitmapEffect.cs
- MenuItemBindingCollection.cs
- HitTestParameters3D.cs
- ConfigurationManagerInternalFactory.cs
- GridViewColumn.cs
- InternalRelationshipCollection.cs
- TableLayoutSettingsTypeConverter.cs
- ColorBlend.cs
- ValidatorCompatibilityHelper.cs
- QueryPageSettingsEventArgs.cs
- ListControlDataBindingHandler.cs
- HwndStylusInputProvider.cs
- PrivateFontCollection.cs
- DesignerCapabilities.cs
- VerificationException.cs
- AssemblyCache.cs
- PropertyContainer.cs
- SystemTcpConnection.cs
- ConnectionOrientedTransportManager.cs
- ButtonBase.cs
- Listen.cs
- CaseInsensitiveOrdinalStringComparer.cs
- StringFreezingAttribute.cs