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
- HexParser.cs
- CodeTypeDelegate.cs
- DataBindingCollection.cs
- MetadataCacheItem.cs
- BufferedStream.cs
- CustomPopupPlacement.cs
- CacheChildrenQuery.cs
- Config.cs
- SizeValueSerializer.cs
- WmlPageAdapter.cs
- StorageModelBuildProvider.cs
- TableLayoutSettings.cs
- FloaterBaseParaClient.cs
- SecurityStandardsManager.cs
- RewritingPass.cs
- DefinitionBase.cs
- MappedMetaModel.cs
- Tracking.cs
- AuthenticationConfig.cs
- StatusBarDrawItemEvent.cs
- CodeDelegateCreateExpression.cs
- OracleString.cs
- GeometryModel3D.cs
- ListViewHitTestInfo.cs
- DataGridRowsPresenter.cs
- ViewSimplifier.cs
- MappedMetaModel.cs
- SystemWebCachingSectionGroup.cs
- ResXResourceSet.cs
- PermissionSet.cs
- StateMachineSubscription.cs
- XmlText.cs
- DBSchemaRow.cs
- RelationshipConstraintValidator.cs
- GrammarBuilder.cs
- MSAANativeProvider.cs
- TextEditorLists.cs
- Region.cs
- SchemaHelper.cs
- XmlSchemaResource.cs
- PathFigureCollectionValueSerializer.cs
- DrawingAttributes.cs
- JoinGraph.cs
- securitycriticaldataClass.cs
- MSAANativeProvider.cs
- Header.cs
- ExpressionEditorAttribute.cs
- Expressions.cs
- PropertySourceInfo.cs
- HostedElements.cs
- XmlSchemaAnyAttribute.cs
- WeakReferenceKey.cs
- OdbcDataReader.cs
- DefaultHttpHandler.cs
- RSAOAEPKeyExchangeDeformatter.cs
- Module.cs
- WebSysDescriptionAttribute.cs
- SafeFileMappingHandle.cs
- OfTypeExpression.cs
- HScrollProperties.cs
- DrawingImage.cs
- ArrayHelper.cs
- StringFreezingAttribute.cs
- CheckBoxStandardAdapter.cs
- Schema.cs
- Registry.cs
- SamlAuthenticationClaimResource.cs
- StatusBarItem.cs
- ConfigViewGenerator.cs
- NetworkInterface.cs
- CacheDependency.cs
- Page.cs
- ObjectReferenceStack.cs
- StylusCollection.cs
- Win32.cs
- HandoffBehavior.cs
- BooleanSwitch.cs
- PathFigureCollectionValueSerializer.cs
- DynamicControl.cs
- XamlWriter.cs
- HtmlHead.cs
- Drawing.cs
- SqlTrackingWorkflowInstance.cs
- MultiView.cs
- PeerContact.cs
- Transform.cs
- ExponentialEase.cs
- AxHost.cs
- ReflectionTypeLoadException.cs
- ISCIIEncoding.cs
- DialogWindow.cs
- CacheEntry.cs
- ConfigurationValidatorAttribute.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TrustLevelCollection.cs
- NamespaceCollection.cs
- DiagnosticTrace.cs
- WebControl.cs
- TemplateBamlTreeBuilder.cs
- HtmlTitle.cs