Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media / InvalidWMPVersionException.cs / 1 / InvalidWMPVersionException.cs
using System;
using System.Runtime.Serialization;
namespace System.Windows.Media
{
///
///Exception class for when WMP 10 is not installed
///
[Serializable]
public class InvalidWmpVersionException : SystemException
{
///
/// Constructor
///
public InvalidWmpVersionException()
{}
///
/// Constructor
///
///
/// Exception message
///
public InvalidWmpVersionException(string message) : base(message)
{}
///
/// Creates a new instance of InvalidWmpVersionException class and initializes it with serialized data.
/// This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.
///
///
/// The object that holds the serialized object data.
///
///
/// The contextual information about the source or destination.
///
protected InvalidWmpVersionException(SerializationInfo info, StreamingContext context) : base(info, context)
{}
///
/// Constructor
///
///
/// Exception message
///
///
/// Inner exception
///
public InvalidWmpVersionException(string message, Exception innerException) : base(message, innerException)
{}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Runtime.Serialization;
namespace System.Windows.Media
{
///
///Exception class for when WMP 10 is not installed
///
[Serializable]
public class InvalidWmpVersionException : SystemException
{
///
/// Constructor
///
public InvalidWmpVersionException()
{}
///
/// Constructor
///
///
/// Exception message
///
public InvalidWmpVersionException(string message) : base(message)
{}
///
/// Creates a new instance of InvalidWmpVersionException class and initializes it with serialized data.
/// This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.
///
///
/// The object that holds the serialized object data.
///
///
/// The contextual information about the source or destination.
///
protected InvalidWmpVersionException(SerializationInfo info, StreamingContext context) : base(info, context)
{}
///
/// Constructor
///
///
/// Exception message
///
///
/// Inner exception
///
public InvalidWmpVersionException(string message, Exception innerException) : base(message, innerException)
{}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Internal.cs
- RelationalExpressions.cs
- PropertyGroupDescription.cs
- EllipticalNodeOperations.cs
- WinInetCache.cs
- Expressions.cs
- EasingFunctionBase.cs
- SymbolEqualComparer.cs
- UndirectedGraph.cs
- SspiWrapper.cs
- UpdateCompiler.cs
- VariantWrapper.cs
- StateElement.cs
- Pair.cs
- Content.cs
- IOThreadTimer.cs
- AnimationTimeline.cs
- BitmapEffectDrawing.cs
- AnimationClock.cs
- WebPartHeaderCloseVerb.cs
- HttpException.cs
- BrowsableAttribute.cs
- CodeObjectCreateExpression.cs
- AddInServer.cs
- NavigatorInput.cs
- BrowserCapabilitiesFactoryBase.cs
- AuthenticationService.cs
- WebPartZoneBaseDesigner.cs
- PasswordDeriveBytes.cs
- Opcode.cs
- dbenumerator.cs
- ConfigurationErrorsException.cs
- InstanceData.cs
- DefaultAuthorizationContext.cs
- IProvider.cs
- Mapping.cs
- CompensationHandlingFilter.cs
- DataSourceDesigner.cs
- UserNameServiceElement.cs
- Block.cs
- sqlnorm.cs
- DCSafeHandle.cs
- XmlILModule.cs
- OrderByBuilder.cs
- Unit.cs
- fixedPageContentExtractor.cs
- EncryptedData.cs
- DataListItemEventArgs.cs
- EventLogWatcher.cs
- KeyValuePair.cs
- CodeGroup.cs
- SmiSettersStream.cs
- StringInfo.cs
- AspNetSynchronizationContext.cs
- View.cs
- Substitution.cs
- PartialList.cs
- _SingleItemRequestCache.cs
- WebBrowserNavigatingEventHandler.cs
- Int64.cs
- GrammarBuilder.cs
- SerializationEventsCache.cs
- DbProviderFactoriesConfigurationHandler.cs
- SqlProviderManifest.cs
- DataSourceControl.cs
- TextContainer.cs
- SchemaConstraints.cs
- ActivityScheduledQuery.cs
- NavigationPropertyEmitter.cs
- CellRelation.cs
- TraceHandlerErrorFormatter.cs
- MenuItemStyleCollection.cs
- SchemaTypeEmitter.cs
- XsltContext.cs
- BehaviorEditorPart.cs
- XmlSerializerNamespaces.cs
- RichTextBoxDesigner.cs
- LinkLabel.cs
- ApplicationSecurityInfo.cs
- Axis.cs
- Grant.cs
- control.ime.cs
- ErasingStroke.cs
- MetadataPropertyvalue.cs
- Tag.cs
- AudioDeviceOut.cs
- RuleElement.cs
- DesignerTextWriter.cs
- DecoderFallbackWithFailureFlag.cs
- CompositionTarget.cs
- TargetControlTypeAttribute.cs
- DbCommandTree.cs
- ConcurrentBag.cs
- CacheHelper.cs
- Schedule.cs
- MexNamedPipeBindingElement.cs
- PersonalizablePropertyEntry.cs
- SqlVersion.cs
- XappLauncher.cs
- BatchParser.cs