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
- Int32CAMarshaler.cs
- SystemPens.cs
- ChannelParameterCollection.cs
- ContentElementAutomationPeer.cs
- RtfFormatStack.cs
- RootBrowserWindow.cs
- EventSinkActivity.cs
- SqlUserDefinedAggregateAttribute.cs
- StrokeDescriptor.cs
- ComponentRenameEvent.cs
- Scheduling.cs
- PageThemeParser.cs
- Line.cs
- BoolLiteral.cs
- CrossSiteScriptingValidation.cs
- DesignerTransaction.cs
- WebBrowserEvent.cs
- XmlSchemaAnyAttribute.cs
- RealizationContext.cs
- XmlDeclaration.cs
- BooleanAnimationUsingKeyFrames.cs
- ValidationError.cs
- InsufficientMemoryException.cs
- CancelEventArgs.cs
- ReadOnlyDataSourceView.cs
- WebPartTransformer.cs
- DataGridViewCellEventArgs.cs
- StrokeFIndices.cs
- SqlProviderManifest.cs
- SqlFileStream.cs
- SatelliteContractVersionAttribute.cs
- XmlQueryCardinality.cs
- PerfCounters.cs
- IIS7WorkerRequest.cs
- OdbcConnectionOpen.cs
- CellTreeNodeVisitors.cs
- GatewayDefinition.cs
- PropertyEmitterBase.cs
- PipeSecurity.cs
- CachedPathData.cs
- RootAction.cs
- TracePayload.cs
- SqlRowUpdatingEvent.cs
- XmlCodeExporter.cs
- UserControl.cs
- WMICapabilities.cs
- ListView.cs
- SerialPort.cs
- AmbientValueAttribute.cs
- ImageListImageEditor.cs
- EdmValidator.cs
- WorkflowInstanceSuspendedRecord.cs
- Attributes.cs
- TypeNameParser.cs
- CacheHelper.cs
- EdmConstants.cs
- TrustLevel.cs
- PEFileEvidenceFactory.cs
- TextModifier.cs
- Terminate.cs
- Keywords.cs
- HttpRuntime.cs
- StylusDevice.cs
- PropertyInformation.cs
- XmlDataLoader.cs
- InputManager.cs
- RightsManagementLicense.cs
- ScalarConstant.cs
- XmlSchemaExternal.cs
- StringOutput.cs
- DirectionalLight.cs
- WindowsFormsLinkLabel.cs
- TrackingMemoryStreamFactory.cs
- ExecutionContext.cs
- AccessDataSourceView.cs
- ValidationEventArgs.cs
- SqlFunctionAttribute.cs
- LicenseException.cs
- ExtentKey.cs
- ApplicationHost.cs
- SettingsProperty.cs
- WrappedIUnknown.cs
- MenuCommand.cs
- ToolStripSplitButton.cs
- Hyperlink.cs
- CommonObjectSecurity.cs
- ListBoxItemAutomationPeer.cs
- DataReaderContainer.cs
- XPathArrayIterator.cs
- ContextDataSourceContextData.cs
- ChannelTerminatedException.cs
- FixedSOMTable.cs
- MultiPropertyDescriptorGridEntry.cs
- WorkflowApplicationUnloadedException.cs
- HitTestDrawingContextWalker.cs
- BaseDataList.cs
- EmptyStringExpandableObjectConverter.cs
- XmlText.cs
- WindowsBrush.cs
- ServiceModelEnhancedConfigurationElementCollection.cs