Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / PlatformNotSupportedException.cs / 1 / PlatformNotSupportedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: PlatformNotSupportedException ** ** ** Purpose: To handle features that don't run on particular platforms ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class PlatformNotSupportedException : NotSupportedException { public PlatformNotSupportedException() : base(Environment.GetResourceString("Arg_PlatformNotSupported")) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } protected PlatformNotSupportedException(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. // // ==--== /*============================================================================== ** ** Class: PlatformNotSupportedException ** ** ** Purpose: To handle features that don't run on particular platforms ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class PlatformNotSupportedException : NotSupportedException { public PlatformNotSupportedException() : base(Environment.GetResourceString("Arg_PlatformNotSupported")) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } protected PlatformNotSupportedException(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
- UpdateExpressionVisitor.cs
- ApplicationActivator.cs
- MatrixTransform.cs
- InputBuffer.cs
- ObjectDataSource.cs
- Array.cs
- ConfigXmlAttribute.cs
- SlipBehavior.cs
- FunctionNode.cs
- UndirectedGraph.cs
- EntityReference.cs
- RegexGroupCollection.cs
- SyncOperationState.cs
- CodeAttachEventStatement.cs
- Mapping.cs
- ClientTargetSection.cs
- _RequestLifetimeSetter.cs
- ParameterCollectionEditor.cs
- StringBuilder.cs
- ModuleBuilderData.cs
- SoapElementAttribute.cs
- _CommandStream.cs
- LocalizedNameDescriptionPair.cs
- baseaxisquery.cs
- nulltextcontainer.cs
- EmptyCollection.cs
- WorkflowDataContext.cs
- externdll.cs
- BrowserCapabilitiesFactory35.cs
- ActivationServices.cs
- Pkcs7Signer.cs
- dbdatarecord.cs
- LabelEditEvent.cs
- InstanceLockedException.cs
- DetailsViewUpdateEventArgs.cs
- MenuItemBindingCollection.cs
- TreeNodeConverter.cs
- basevalidator.cs
- XmlReturnWriter.cs
- FormViewDeleteEventArgs.cs
- KeyboardEventArgs.cs
- CompositeFontParser.cs
- _Events.cs
- ipaddressinformationcollection.cs
- EncryptedData.cs
- DrawListViewColumnHeaderEventArgs.cs
- ToolStripPanelRenderEventArgs.cs
- TextTreeTextNode.cs
- SimplePropertyEntry.cs
- CheckBoxField.cs
- TextRangeProviderWrapper.cs
- XmlCDATASection.cs
- ReceiveParametersContent.cs
- _KerberosClient.cs
- ExpressionBuilder.cs
- ChannelSinkStacks.cs
- WebRequestModuleElement.cs
- WebPartActionVerb.cs
- MultiTrigger.cs
- DataViewManager.cs
- MouseGestureConverter.cs
- DataServiceClientException.cs
- ADMembershipProvider.cs
- DelegatedStream.cs
- ClientBuildManagerCallback.cs
- DoubleCollectionValueSerializer.cs
- storepermissionattribute.cs
- MatrixTransform.cs
- HwndHostAutomationPeer.cs
- CodeIdentifier.cs
- SystemIPv4InterfaceProperties.cs
- FrameworkRichTextComposition.cs
- ProcessThread.cs
- WpfSharedXamlSchemaContext.cs
- CatalogZoneBase.cs
- InstrumentationTracker.cs
- SystemDiagnosticsSection.cs
- CommandConverter.cs
- PathSegmentCollection.cs
- SerializerDescriptor.cs
- ActivationService.cs
- TextMessageEncodingBindingElement.cs
- PermissionSetTriple.cs
- HtmlInputImage.cs
- _AutoWebProxyScriptEngine.cs
- PasswordRecovery.cs
- WindowsFormsHostAutomationPeer.cs
- SafeHandles.cs
- TypeConverterBase.cs
- base64Transforms.cs
- PKCS1MaskGenerationMethod.cs
- ActivationArguments.cs
- Message.cs
- ZipFileInfoCollection.cs
- LinqDataSourceEditData.cs
- ToolboxComponentsCreatingEventArgs.cs
- DocumentScope.cs
- ScriptResourceMapping.cs
- XPathItem.cs
- XmlnsCompatibleWithAttribute.cs