Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DocumentGridPage.cs
- MediaCommands.cs
- DrawListViewSubItemEventArgs.cs
- HtmlWindowCollection.cs
- documentsequencetextcontainer.cs
- ThaiBuddhistCalendar.cs
- _ConnectOverlappedAsyncResult.cs
- PartManifestEntry.cs
- TransformCollection.cs
- XmlElementList.cs
- MatrixUtil.cs
- ChtmlTextWriter.cs
- WindowsStatusBar.cs
- DragAssistanceManager.cs
- XmlSerializerVersionAttribute.cs
- WebRequestModulesSection.cs
- GenericPrincipal.cs
- ScaleTransform.cs
- MarginsConverter.cs
- StructuredTypeEmitter.cs
- StylusPointPropertyInfo.cs
- TextContainerChangeEventArgs.cs
- SequentialActivityDesigner.cs
- SetStateDesigner.cs
- TransformFinalBlockRequest.cs
- WebPartManager.cs
- safesecurityhelperavalon.cs
- Geometry3D.cs
- MyContact.cs
- ChangeNode.cs
- TextMarkerSource.cs
- NameNode.cs
- Command.cs
- DataGridPagerStyle.cs
- securestring.cs
- MSG.cs
- OleDbPropertySetGuid.cs
- Brush.cs
- NotifyCollectionChangedEventArgs.cs
- UnsignedPublishLicense.cs
- ReflectionTypeLoadException.cs
- WindowsListViewSubItem.cs
- ExpressionLink.cs
- XpsTokenContext.cs
- X509SecurityTokenAuthenticator.cs
- ClientTargetCollection.cs
- TraceContextRecord.cs
- MobileUserControl.cs
- MultiTrigger.cs
- OleDbInfoMessageEvent.cs
- XmlSchemaExternal.cs
- DoubleLinkList.cs
- ArrayWithOffset.cs
- ReadContentAsBinaryHelper.cs
- DataTrigger.cs
- RoutedEventArgs.cs
- Scalars.cs
- PrivateFontCollection.cs
- DynamicPhysicalDiscoSearcher.cs
- SecurityContext.cs
- ConfigurationPermission.cs
- URL.cs
- HttpEncoder.cs
- FormViewModeEventArgs.cs
- FileSystemInfo.cs
- ResourceReader.cs
- XsltLibrary.cs
- FontWeightConverter.cs
- ReferentialConstraintRoleElement.cs
- MetadataAssemblyHelper.cs
- MemberExpressionHelper.cs
- OleDbException.cs
- ContentPlaceHolder.cs
- XmlCharacterData.cs
- GrammarBuilderPhrase.cs
- ScaleTransform3D.cs
- DataControlField.cs
- LogicalTreeHelper.cs
- ContextMenuService.cs
- SoapHelper.cs
- ConvertersCollection.cs
- MissingSatelliteAssemblyException.cs
- ObjectToken.cs
- SQLDateTime.cs
- ElementUtil.cs
- IPAddressCollection.cs
- XmlILConstructAnalyzer.cs
- HandlerBase.cs
- BuildManager.cs
- GridViewRow.cs
- AuthStoreRoleProvider.cs
- ChannelPool.cs
- HiddenFieldDesigner.cs
- TypographyProperties.cs
- Bitmap.cs
- WebControlParameterProxy.cs
- _BaseOverlappedAsyncResult.cs
- DashStyles.cs
- UnmanagedMemoryStream.cs
- Table.cs