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
- WebBrowserDocumentCompletedEventHandler.cs
- coordinator.cs
- EnumValidator.cs
- EventDescriptor.cs
- Matrix3DValueSerializer.cs
- ProfileParameter.cs
- TypeConverter.cs
- BamlLocalizer.cs
- CheckBoxField.cs
- TimeZone.cs
- ExpressionContext.cs
- GenericTypeParameterConverter.cs
- WSHttpBinding.cs
- EntityStoreSchemaGenerator.cs
- XPathSingletonIterator.cs
- ChannelAcceptor.cs
- DeviceContext2.cs
- AgileSafeNativeMemoryHandle.cs
- EncoderReplacementFallback.cs
- NullableBoolConverter.cs
- RequestResizeEvent.cs
- EpmSyndicationContentSerializer.cs
- FindCriteria11.cs
- ToolBarButtonDesigner.cs
- HybridCollection.cs
- ObjectManager.cs
- GeneralTransformGroup.cs
- EncryptedPackage.cs
- DockEditor.cs
- TemplateLookupAction.cs
- ConfigurationValidatorAttribute.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- ExclusiveNamedPipeTransportManager.cs
- UserThread.cs
- SimpleFieldTemplateFactory.cs
- Sorting.cs
- XmlValidatingReaderImpl.cs
- ChtmlLinkAdapter.cs
- StructuredType.cs
- RetrieveVirtualItemEventArgs.cs
- ContainerParaClient.cs
- LifetimeServices.cs
- PersistChildrenAttribute.cs
- FormViewPageEventArgs.cs
- SurrogateSelector.cs
- TypeGeneratedEventArgs.cs
- formatter.cs
- GenericRootAutomationPeer.cs
- DbProviderServices.cs
- DataKeyArray.cs
- ToolboxCategory.cs
- ToolStripKeyboardHandlingService.cs
- MainMenu.cs
- StylusPointProperty.cs
- CancelEventArgs.cs
- TargetParameterCountException.cs
- ContentDesigner.cs
- EncoderFallback.cs
- SiteMap.cs
- Rfc2898DeriveBytes.cs
- ConstraintManager.cs
- EmptyEnumerator.cs
- InternalConfigHost.cs
- MaskedTextBox.cs
- SiteMapSection.cs
- TextOnlyOutput.cs
- ContractMethodInfo.cs
- Compilation.cs
- DescendantOverDescendantQuery.cs
- _UncName.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ValidateNames.cs
- MSAANativeProvider.cs
- TableSectionStyle.cs
- Site.cs
- EmbeddedObject.cs
- DataSourceCacheDurationConverter.cs
- PointConverter.cs
- PasswordTextNavigator.cs
- ContextDataSourceContextData.cs
- MethodAccessException.cs
- StorageEndPropertyMapping.cs
- DrawingContextDrawingContextWalker.cs
- AutoCompleteStringCollection.cs
- DataPagerFieldItem.cs
- Int16KeyFrameCollection.cs
- TraceLog.cs
- Attribute.cs
- FlowLayoutSettings.cs
- FontFamilyConverter.cs
- Context.cs
- ExpandSegment.cs
- CommandHelpers.cs
- SecurityAppliedMessage.cs
- IisTraceListener.cs
- TextElement.cs
- DuplicateWaitObjectException.cs
- Tokenizer.cs
- EncodingDataItem.cs
- Propagator.cs