Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / Security / Policy / PolicyException.cs / 1 / PolicyException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // PolicyException.cs // // Use this class to throw a PolicyException // namespace System.Security.Policy { using System; using System.Runtime.Serialization; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class PolicyException : SystemException { public PolicyException() : base(Environment.GetResourceString( "Policy_Default" )) { HResult = __HResults.CORSEC_E_POLICY_EXCEPTION; } public PolicyException(String message) : base(message) { HResult = __HResults.CORSEC_E_POLICY_EXCEPTION; } public PolicyException(String message, Exception exception) : base(message, exception) { HResult = __HResults.CORSEC_E_POLICY_EXCEPTION; } protected PolicyException(SerializationInfo info, StreamingContext context) : base (info, context) {} internal PolicyException(String message, int hresult) : base (message) { HResult = hresult; } internal PolicyException(String message, int hresult, Exception exception) : base (message, exception) { HResult = hresult; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // PolicyException.cs // // Use this class to throw a PolicyException // namespace System.Security.Policy { using System; using System.Runtime.Serialization; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class PolicyException : SystemException { public PolicyException() : base(Environment.GetResourceString( "Policy_Default" )) { HResult = __HResults.CORSEC_E_POLICY_EXCEPTION; } public PolicyException(String message) : base(message) { HResult = __HResults.CORSEC_E_POLICY_EXCEPTION; } public PolicyException(String message, Exception exception) : base(message, exception) { HResult = __HResults.CORSEC_E_POLICY_EXCEPTION; } protected PolicyException(SerializationInfo info, StreamingContext context) : base (info, context) {} internal PolicyException(String message, int hresult) : base (message) { HResult = hresult; } internal PolicyException(String message, int hresult, Exception exception) : base (message, exception) { HResult = hresult; } } } // 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
- HashHelper.cs
- PackWebResponse.cs
- ItemAutomationPeer.cs
- BaseProcessProtocolHandler.cs
- documentsequencetextview.cs
- AdjustableArrowCap.cs
- MarkupProperty.cs
- RootBrowserWindow.cs
- ImageSource.cs
- SafeRightsManagementEnvironmentHandle.cs
- XamlInt32CollectionSerializer.cs
- MeasurementDCInfo.cs
- DataChangedEventManager.cs
- FloaterParagraph.cs
- XDRSchema.cs
- XmlName.cs
- ColorMatrix.cs
- TreeIterators.cs
- CurrentTimeZone.cs
- UrlMappingsModule.cs
- ResourceReader.cs
- NetworkStream.cs
- Attributes.cs
- EntitySqlQueryState.cs
- CommonProperties.cs
- Stylesheet.cs
- DoubleAnimation.cs
- IFlowDocumentViewer.cs
- ToolBarTray.cs
- Highlights.cs
- LinkedResource.cs
- EdmToObjectNamespaceMap.cs
- SafeFileMappingHandle.cs
- ProgressBarBrushConverter.cs
- DataObjectFieldAttribute.cs
- webeventbuffer.cs
- ProtectedConfigurationSection.cs
- CryptoKeySecurity.cs
- ModuleConfigurationInfo.cs
- FtpWebRequest.cs
- WebEventCodes.cs
- Validator.cs
- EventMemberCodeDomSerializer.cs
- ClockGroup.cs
- Rules.cs
- HostProtectionException.cs
- X509SecurityTokenProvider.cs
- XmlMtomReader.cs
- CompressedStack.cs
- Size.cs
- X509UI.cs
- OrCondition.cs
- WebConfigurationManager.cs
- StatusBarDesigner.cs
- GB18030Encoding.cs
- ServerValidateEventArgs.cs
- NavigatingCancelEventArgs.cs
- CodeBlockBuilder.cs
- ToolStripItemRenderEventArgs.cs
- Utils.cs
- SqlDataReaderSmi.cs
- XDRSchema.cs
- MemoryMappedFileSecurity.cs
- PropertyValueChangedEvent.cs
- MSAANativeProvider.cs
- SourceSwitch.cs
- SignatureConfirmations.cs
- IDReferencePropertyAttribute.cs
- CroppedBitmap.cs
- DocumentCollection.cs
- ElementUtil.cs
- relpropertyhelper.cs
- TraceSection.cs
- IListConverters.cs
- RenderOptions.cs
- Identity.cs
- AssemblyBuilder.cs
- FilterEventArgs.cs
- XsdValidatingReader.cs
- WSMessageEncoding.cs
- AbandonedMutexException.cs
- PieceDirectory.cs
- SoapException.cs
- EntityTransaction.cs
- TextPointer.cs
- SmiMetaData.cs
- MaskedTextProvider.cs
- DataControlReference.cs
- ElementNotAvailableException.cs
- TextWriter.cs
- XPathParser.cs
- EntityAdapter.cs
- DataListCommandEventArgs.cs
- SafeHGlobalHandleCritical.cs
- ClientBuildManager.cs
- XmlNavigatorStack.cs
- EventMappingSettings.cs
- XPathNodeList.cs
- ListViewItemMouseHoverEvent.cs
- Rotation3D.cs