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
- DataTableMapping.cs
- TabControlCancelEvent.cs
- HtmlInputCheckBox.cs
- EntityContainerEntitySetDefiningQuery.cs
- CookieParameter.cs
- CommandDevice.cs
- Guid.cs
- ValidationPropertyAttribute.cs
- WrappedKeySecurityTokenParameters.cs
- _Win32.cs
- TextDecorationUnitValidation.cs
- ActivityStateRecord.cs
- ScriptingProfileServiceSection.cs
- Switch.cs
- HttpProcessUtility.cs
- SerialReceived.cs
- CorruptingExceptionCommon.cs
- BuildManager.cs
- NextPreviousPagerField.cs
- SimpleType.cs
- PlatformNotSupportedException.cs
- HwndTarget.cs
- OdbcCommandBuilder.cs
- MemoryFailPoint.cs
- ImagingCache.cs
- RC2CryptoServiceProvider.cs
- CodeSubDirectory.cs
- Point3DKeyFrameCollection.cs
- IgnoreDeviceFilterElementCollection.cs
- DataGridViewComboBoxColumn.cs
- TextOnlyOutput.cs
- Emitter.cs
- BitmapEffect.cs
- DependencyPropertyChangedEventArgs.cs
- HandlerFactoryCache.cs
- SoapSchemaMember.cs
- JournalEntryListConverter.cs
- DataGridViewCellEventArgs.cs
- GridViewCommandEventArgs.cs
- DictionaryEntry.cs
- DataProviderNameConverter.cs
- ScriptReferenceEventArgs.cs
- MaskedTextBoxTextEditorDropDown.cs
- PhonemeConverter.cs
- DebugInfoExpression.cs
- DataGridViewColumn.cs
- MailMessageEventArgs.cs
- DbLambda.cs
- EventLogInternal.cs
- TickBar.cs
- ExpressionNormalizer.cs
- HtmlValidatorAdapter.cs
- SecurityTokenException.cs
- DataTemplate.cs
- CollectionViewProxy.cs
- StyleXamlParser.cs
- QueryExtender.cs
- SubqueryRules.cs
- ConnectorMovedEventArgs.cs
- KeyValueSerializer.cs
- MSAAEventDispatcher.cs
- SHA512.cs
- SerializerWriterEventHandlers.cs
- Crc32Helper.cs
- Tablet.cs
- Visitors.cs
- XmlQualifiedNameTest.cs
- KeyTimeConverter.cs
- ThreadStateException.cs
- EdgeModeValidation.cs
- XmlBinaryWriter.cs
- CompositeScriptReference.cs
- ServiceConfigurationTraceRecord.cs
- HtmlInputReset.cs
- SchemaMapping.cs
- BooleanToVisibilityConverter.cs
- CollectionViewProxy.cs
- HttpCacheVaryByContentEncodings.cs
- WindowsGraphicsWrapper.cs
- ThemeConfigurationDialog.cs
- LoginViewDesigner.cs
- SemanticResolver.cs
- DataGridViewComponentPropertyGridSite.cs
- EditorPart.cs
- BuildProvider.cs
- Site.cs
- Formatter.cs
- BamlLocalizableResourceKey.cs
- DataGridViewRowStateChangedEventArgs.cs
- SoapSchemaMember.cs
- AttributeCollection.cs
- UnhandledExceptionEventArgs.cs
- ForeignConstraint.cs
- HashMembershipCondition.cs
- COM2IPerPropertyBrowsingHandler.cs
- AssertFilter.cs
- FormatVersion.cs
- Accessors.cs
- ProviderIncompatibleException.cs
- Crc32.cs