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
- ServicePointManager.cs
- ObjectSecurityT.cs
- FileChangesMonitor.cs
- NamespaceEmitter.cs
- StylusButtonCollection.cs
- HostingEnvironmentWrapper.cs
- ICspAsymmetricAlgorithm.cs
- QilFactory.cs
- XmlQueryOutput.cs
- SecurityAppliedMessage.cs
- CodeGen.cs
- XmlDataSourceView.cs
- ResourceWriter.cs
- BridgeDataRecord.cs
- DesignerForm.cs
- CodeGroup.cs
- WinEventWrap.cs
- AggregatePushdown.cs
- ReadOnlyAttribute.cs
- DesignTimeParseData.cs
- ControlEvent.cs
- GridViewEditEventArgs.cs
- MultipleFilterMatchesException.cs
- CharEntityEncoderFallback.cs
- CustomPopupPlacement.cs
- MouseEventArgs.cs
- ToolBarButtonClickEvent.cs
- XmlAttributes.cs
- _Events.cs
- StreamWriter.cs
- FileRecordSequenceHelper.cs
- XmlIlGenerator.cs
- WeakReferenceEnumerator.cs
- RuleElement.cs
- WindowsPrincipal.cs
- Axis.cs
- ProcessHostFactoryHelper.cs
- PersistenceTypeAttribute.cs
- FunctionMappingTranslator.cs
- DrawingState.cs
- SafeHandle.cs
- UshortList2.cs
- HttpListenerException.cs
- SecurityUtils.cs
- DriveInfo.cs
- ElasticEase.cs
- StringFunctions.cs
- BindToObject.cs
- DataGridViewColumnConverter.cs
- IndexedString.cs
- serverconfig.cs
- SqlInternalConnectionSmi.cs
- ExternalDataExchangeClient.cs
- BaseParagraph.cs
- MailMessage.cs
- EnumValidator.cs
- CallbackException.cs
- DetailsViewInsertEventArgs.cs
- RegexCaptureCollection.cs
- ListViewGroupConverter.cs
- UriSection.cs
- RedistVersionInfo.cs
- FullTextState.cs
- PageStatePersister.cs
- BufferModesCollection.cs
- BinaryNode.cs
- BitmapEffect.cs
- CryptoHelper.cs
- EditorReuseAttribute.cs
- ScrollBar.cs
- ControlEvent.cs
- EventManager.cs
- TypeHelper.cs
- ParserContext.cs
- EndpointBehaviorElementCollection.cs
- CancellationState.cs
- SqlDataSourceQuery.cs
- X509ScopedServiceCertificateElementCollection.cs
- PersonalizationStateInfo.cs
- PasswordDeriveBytes.cs
- SqlClientMetaDataCollectionNames.cs
- ISSmlParser.cs
- TabletDevice.cs
- UInt32.cs
- FloatUtil.cs
- ECDiffieHellman.cs
- SingleAnimationUsingKeyFrames.cs
- ZeroOpNode.cs
- ResourceDescriptionAttribute.cs
- CriticalHandle.cs
- ProxyAttribute.cs
- WriterOutput.cs
- RequestQueue.cs
- WebPartVerbCollection.cs
- BitmapSizeOptions.cs
- CheckableControlBaseAdapter.cs
- WebPageTraceListener.cs
- ToolboxCategoryItems.cs
- AllowedAudienceUriElement.cs
- CommonDialog.cs