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
- PropertyMappingExceptionEventArgs.cs
- ChannelPoolSettingsElement.cs
- CustomSignedXml.cs
- ComponentCache.cs
- ObjectCacheHost.cs
- AdapterSwitches.cs
- FileLogRecordStream.cs
- OracleCommandBuilder.cs
- RequestUriProcessor.cs
- TextTreeFixupNode.cs
- ExclusiveTcpTransportManager.cs
- CorruptStoreException.cs
- SqlAggregateChecker.cs
- ConstructorExpr.cs
- TemplateManager.cs
- ApplicationContext.cs
- ProbeDuplexAsyncResult.cs
- TextProperties.cs
- ellipse.cs
- SEHException.cs
- AnnotationResourceCollection.cs
- counter.cs
- HybridObjectCache.cs
- mda.cs
- DataRelation.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ModelPerspective.cs
- Cloud.cs
- MembershipUser.cs
- DictionaryBase.cs
- Win32Exception.cs
- ArgumentOutOfRangeException.cs
- HtmlImage.cs
- DefaultAsyncDataDispatcher.cs
- DateTimeAutomationPeer.cs
- CreateRefExpr.cs
- WebPartExportVerb.cs
- XmlIterators.cs
- AttachInfo.cs
- Odbc32.cs
- EndpointInfoCollection.cs
- CodeLinePragma.cs
- ViewBase.cs
- EventlogProvider.cs
- StylusButtonEventArgs.cs
- TextContainer.cs
- Imaging.cs
- _AutoWebProxyScriptHelper.cs
- FormsAuthenticationConfiguration.cs
- TextSimpleMarkerProperties.cs
- FileDetails.cs
- WindowsUpDown.cs
- SamlAuthenticationClaimResource.cs
- HttpHandlersSection.cs
- PlaceHolder.cs
- XsdDuration.cs
- LogLogRecordEnumerator.cs
- RangeContentEnumerator.cs
- TypeInfo.cs
- WorkflowQueuingService.cs
- CompilerLocalReference.cs
- AdornerHitTestResult.cs
- OutputCacheProviderCollection.cs
- CompilationUtil.cs
- DPCustomTypeDescriptor.cs
- SQLBinary.cs
- MemoryMappedView.cs
- XmlSubtreeReader.cs
- CompilationUtil.cs
- SiteMap.cs
- XmlChoiceIdentifierAttribute.cs
- LocationSectionRecord.cs
- HttpServerChannel.cs
- InstanceDataCollectionCollection.cs
- ActivityExecutorOperation.cs
- ScopeElementCollection.cs
- QueryOpeningEnumerator.cs
- SafeHandles.cs
- EntityDataSourceState.cs
- BuildProviderUtils.cs
- RtfControlWordInfo.cs
- GAC.cs
- ImageField.cs
- WebPartConnectionsCancelVerb.cs
- UserPreferenceChangingEventArgs.cs
- DataContractSerializerMessageContractImporter.cs
- Message.cs
- FormatPage.cs
- FindResponse.cs
- ResourceDictionary.cs
- SetterBaseCollection.cs
- isolationinterop.cs
- StringBlob.cs
- odbcmetadatacolumnnames.cs
- SuppressMessageAttribute.cs
- DbXmlEnabledProviderManifest.cs
- NativeMethodsCLR.cs
- Expression.cs
- RsaKeyIdentifierClause.cs
- EventItfInfo.cs