Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / PlatformNotSupportedException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- ZipIOBlockManager.cs
- ExeConfigurationFileMap.cs
- PauseStoryboard.cs
- SecurityPolicySection.cs
- MessageBox.cs
- Convert.cs
- parserscommon.cs
- TrackingDataItem.cs
- TerminatorSinks.cs
- SystemGatewayIPAddressInformation.cs
- SafeRegistryHandle.cs
- CalendarButtonAutomationPeer.cs
- XamlTreeBuilder.cs
- CryptoKeySecurity.cs
- SqlNodeTypeOperators.cs
- SrgsElementFactoryCompiler.cs
- PartialToken.cs
- ComplexPropertyEntry.cs
- EntityCommandDefinition.cs
- ResolveNameEventArgs.cs
- EdmRelationshipRoleAttribute.cs
- XamlFxTrace.cs
- ListBase.cs
- ArglessEventHandlerProxy.cs
- MetadataUtilsSmi.cs
- RootDesignerSerializerAttribute.cs
- CmsUtils.cs
- ByteStreamBufferedMessageData.cs
- OletxTransactionHeader.cs
- FramingEncoders.cs
- DotExpr.cs
- OpenFileDialog.cs
- AnnotationHelper.cs
- TcpTransportSecurity.cs
- IdentityReference.cs
- RegistryKey.cs
- SettingsAttributes.cs
- EditingMode.cs
- Select.cs
- Models.cs
- RadioButtonList.cs
- DrawingGroup.cs
- SafeUserTokenHandle.cs
- DataGridViewComboBoxEditingControl.cs
- FileFormatException.cs
- SymLanguageVendor.cs
- BamlReader.cs
- SchemaManager.cs
- ProcessDesigner.cs
- SizeValueSerializer.cs
- DiagnosticTraceSource.cs
- XPathPatternParser.cs
- FaultContractAttribute.cs
- XmlSchemaAnyAttribute.cs
- IssuanceTokenProviderState.cs
- VirtualizingStackPanel.cs
- SymLanguageType.cs
- ScriptBehaviorDescriptor.cs
- ControlEvent.cs
- SizeChangedInfo.cs
- TrustManagerMoreInformation.cs
- RegexRunner.cs
- DurableInstanceProvider.cs
- DiscreteKeyFrames.cs
- Helper.cs
- EditorPartChrome.cs
- ObjectStateManagerMetadata.cs
- UncommonField.cs
- VariableModifiersHelper.cs
- CrossSiteScriptingValidation.cs
- FileEnumerator.cs
- Stack.cs
- DataKeyCollection.cs
- DbConnectionOptions.cs
- ParameterCollectionEditorForm.cs
- ParseChildrenAsPropertiesAttribute.cs
- AttachedPropertyMethodSelector.cs
- ResourceDescriptionAttribute.cs
- DesignerActionListCollection.cs
- XPathBuilder.cs
- HostSecurityManager.cs
- Point4D.cs
- DragEvent.cs
- RootBuilder.cs
- X509CertificateCollection.cs
- SplayTreeNode.cs
- RouteParameter.cs
- BamlVersionHeader.cs
- X509SecurityTokenProvider.cs
- LinearGradientBrush.cs
- EventLog.cs
- EnumerableValidator.cs
- ItemContainerGenerator.cs
- CodeGeneratorAttribute.cs
- IWorkflowDebuggerService.cs
- UnauthorizedWebPart.cs
- UrlAuthFailedErrorFormatter.cs
- ReadOnlyObservableCollection.cs
- CodeObject.cs
- _AcceptOverlappedAsyncResult.cs