Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OpenFileDialog.cs
- JournalNavigationScope.cs
- CaseInsensitiveHashCodeProvider.cs
- BaseTreeIterator.cs
- RowParagraph.cs
- OdbcDataAdapter.cs
- FormClosingEvent.cs
- Formatter.cs
- EntityDataSourceEntitySetNameItem.cs
- cookiecollection.cs
- SimpleLine.cs
- DataGridViewColumnHeaderCell.cs
- ExpressionPrinter.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- OutputBuffer.cs
- QueryCursorEventArgs.cs
- HuffmanTree.cs
- SimpleHandlerBuildProvider.cs
- HtmlShim.cs
- ViewgenGatekeeper.cs
- SoapServerMessage.cs
- ViewBox.cs
- AutomationIdentifierGuids.cs
- SortableBindingList.cs
- UrlRoutingModule.cs
- GACIdentityPermission.cs
- Input.cs
- versioninfo.cs
- DirtyTextRange.cs
- IconHelper.cs
- ToolStripSplitButton.cs
- ShapeTypeface.cs
- TypeLoader.cs
- HttpInputStream.cs
- BuildProvidersCompiler.cs
- TreeNodeCollection.cs
- WebContext.cs
- PostBackTrigger.cs
- PassportIdentity.cs
- ObjectDataSourceWizardForm.cs
- JsonEncodingStreamWrapper.cs
- ComPlusSynchronizationContext.cs
- DbException.cs
- AttachedAnnotation.cs
- TextBoxLine.cs
- Message.cs
- MultitargetingHelpers.cs
- Native.cs
- BamlMapTable.cs
- GridViewCancelEditEventArgs.cs
- XmlQueryTypeFactory.cs
- Mutex.cs
- MissingSatelliteAssemblyException.cs
- FormViewInsertEventArgs.cs
- CombinedGeometry.cs
- CollectionExtensions.cs
- CodeGenerator.cs
- SafeNativeMethods.cs
- ObjRef.cs
- WebControlAdapter.cs
- ControlValuePropertyAttribute.cs
- EntityDataSourceMemberPath.cs
- GACMembershipCondition.cs
- Number.cs
- ADMembershipProvider.cs
- DependencyObjectProvider.cs
- CodeMemberMethod.cs
- SchemaImporter.cs
- XamlWriter.cs
- MultiAsyncResult.cs
- RenderOptions.cs
- SqlCacheDependencyDatabase.cs
- DESCryptoServiceProvider.cs
- HttpRuntimeSection.cs
- ForeignConstraint.cs
- WebConvert.cs
- ProbeRequestResponseAsyncResult.cs
- ComboBoxItem.cs
- MetadataPropertyCollection.cs
- Overlapped.cs
- ToolStripItemGlyph.cs
- NgenServicingAttributes.cs
- QilSortKey.cs
- AnnotationComponentManager.cs
- Int16Converter.cs
- ContextMenu.cs
- WorkingDirectoryEditor.cs
- SessionPageStatePersister.cs
- HttpBrowserCapabilitiesWrapper.cs
- SplayTreeNode.cs
- XmlSecureResolver.cs
- CodeLinePragma.cs
- ConfigurationPermission.cs
- odbcmetadatacolumnnames.cs
- EnumType.cs
- VisualTarget.cs
- HierarchicalDataBoundControl.cs
- ForceCopyBuildProvider.cs
- ObjectQuery.cs
- SizeIndependentAnimationStorage.cs