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
- IntranetCredentialPolicy.cs
- AuthenticationService.cs
- RawStylusInput.cs
- WebPartAddingEventArgs.cs
- FixUpCollection.cs
- CTreeGenerator.cs
- XamlTemplateSerializer.cs
- URI.cs
- BaseParaClient.cs
- Tablet.cs
- SerializationHelper.cs
- MailDefinition.cs
- loginstatus.cs
- WebEventCodes.cs
- Camera.cs
- OleDbParameterCollection.cs
- XamlValidatingReader.cs
- EmptyArray.cs
- HopperCache.cs
- Psha1DerivedKeyGenerator.cs
- TdsParserStaticMethods.cs
- XmlnsCompatibleWithAttribute.cs
- HostingEnvironmentSection.cs
- InputLanguageProfileNotifySink.cs
- DataViewManagerListItemTypeDescriptor.cs
- HttpChannelBindingToken.cs
- XslVisitor.cs
- HwndAppCommandInputProvider.cs
- XPathNavigatorException.cs
- SapiRecoInterop.cs
- StringDictionaryEditor.cs
- TemplatedEditableDesignerRegion.cs
- TextRangeProviderWrapper.cs
- BaseCollection.cs
- UTF7Encoding.cs
- PointAnimationBase.cs
- ResourcePermissionBase.cs
- SafeEventLogWriteHandle.cs
- StringBuilder.cs
- AnnotationHelper.cs
- MonitorWrapper.cs
- NavigatingCancelEventArgs.cs
- panel.cs
- Identity.cs
- ToolCreatedEventArgs.cs
- ComPlusContractBehavior.cs
- EmbeddedMailObject.cs
- TrackingMemoryStream.cs
- ManualResetEvent.cs
- CompareValidator.cs
- WebPartDisplayModeEventArgs.cs
- OlePropertyStructs.cs
- TableLayoutSettingsTypeConverter.cs
- ThemeDictionaryExtension.cs
- DbParameterCollectionHelper.cs
- DbParameterCollection.cs
- MappingMetadataHelper.cs
- SemanticResultKey.cs
- GuidConverter.cs
- Scene3D.cs
- LineMetrics.cs
- ExecutionTracker.cs
- CqlLexer.cs
- NamespaceInfo.cs
- Serializer.cs
- ZoneButton.cs
- NetCodeGroup.cs
- WindowsRichEdit.cs
- SystemException.cs
- XmlSchemaComplexContentExtension.cs
- AssemblyAttributes.cs
- IisTraceWebEventProvider.cs
- OciEnlistContext.cs
- EncoderNLS.cs
- columnmapfactory.cs
- CodeIdentifier.cs
- ReadContentAsBinaryHelper.cs
- SecurityElement.cs
- UiaCoreProviderApi.cs
- PathData.cs
- AppliedDeviceFiltersDialog.cs
- TrackingStringDictionary.cs
- SQLDoubleStorage.cs
- ReadOnlyHierarchicalDataSourceView.cs
- UriTemplateHelpers.cs
- PolyLineSegment.cs
- AssemblyResourceLoader.cs
- newitemfactory.cs
- SAPIEngineTypes.cs
- ObjectKeyFrameCollection.cs
- DesignerAttribute.cs
- WebPartCloseVerb.cs
- HttpResponse.cs
- EllipticalNodeOperations.cs
- SqlMethodCallConverter.cs
- ProxyWebPartManager.cs
- DataServiceProcessingPipelineEventArgs.cs
- Lease.cs
- CharacterMetricsDictionary.cs
- SerializationHelper.cs