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
- WindowsRegion.cs
- StringValidator.cs
- BamlResourceDeserializer.cs
- BuildProviderCollection.cs
- DrawListViewSubItemEventArgs.cs
- QuaternionRotation3D.cs
- DataDocumentXPathNavigator.cs
- CqlParser.cs
- HMACSHA384.cs
- X509Utils.cs
- CryptoHandle.cs
- ExtenderProvidedPropertyAttribute.cs
- EtwTrace.cs
- ReadWriteSpinLock.cs
- CqlGenerator.cs
- MemberProjectionIndex.cs
- SchemaMerger.cs
- SafeNativeMethodsMilCoreApi.cs
- Profiler.cs
- ParsedRoute.cs
- XsltOutput.cs
- TreeNodeSelectionProcessor.cs
- ListenerUnsafeNativeMethods.cs
- DependencyObjectProvider.cs
- MouseWheelEventArgs.cs
- AttributeQuery.cs
- XD.cs
- AutoResetEvent.cs
- StringTraceRecord.cs
- CaseInsensitiveComparer.cs
- PeerUnsafeNativeMethods.cs
- ServiceHttpModule.cs
- PrefixHandle.cs
- SByteConverter.cs
- SettingsProperty.cs
- WebBrowsableAttribute.cs
- CriticalExceptions.cs
- InkSerializer.cs
- RichListBox.cs
- WebBrowserBase.cs
- FrugalList.cs
- MetadataCache.cs
- StorageAssociationTypeMapping.cs
- UpdateDelegates.Generated.cs
- TextDecorationCollection.cs
- ObjectAnimationBase.cs
- SoapMessage.cs
- GregorianCalendarHelper.cs
- Style.cs
- ReverseInheritProperty.cs
- LingerOption.cs
- X509Utils.cs
- InstanceDataCollection.cs
- AppDomainAttributes.cs
- TextBoxLine.cs
- AdornerDecorator.cs
- TcpChannelHelper.cs
- ObjectPropertyMapping.cs
- DataServiceProcessingPipeline.cs
- CompositeDataBoundControl.cs
- TypeSystem.cs
- Stream.cs
- RangeValidator.cs
- RpcResponse.cs
- LoadedEvent.cs
- TransferMode.cs
- RenderData.cs
- EmptyCollection.cs
- Int16Storage.cs
- EntitySetBaseCollection.cs
- WebPartTransformer.cs
- ToolStripDropDownItem.cs
- ConfigXmlComment.cs
- CharAnimationUsingKeyFrames.cs
- UIElementAutomationPeer.cs
- AttributeData.cs
- Metafile.cs
- Debug.cs
- EntityViewGenerationAttribute.cs
- ProviderConnectionPoint.cs
- DataBindingsDialog.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- MessageQueueEnumerator.cs
- LabelEditEvent.cs
- DataGridViewCellFormattingEventArgs.cs
- CodeSnippetCompileUnit.cs
- MaxValueConverter.cs
- Visual3DCollection.cs
- CharacterBufferReference.cs
- ContentPresenter.cs
- ToolZone.cs
- Triplet.cs
- SqlVersion.cs
- backend.cs
- ComponentManagerBroker.cs
- AlternateView.cs
- DesignerView.cs
- Selection.cs
- Size3DValueSerializer.cs
- ReachFixedPageSerializerAsync.cs