Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Security / Principal / IdentityNotMappedException.cs / 1 / IdentityNotMappedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== using System; using Microsoft.Win32; using System.Runtime.Serialization; using System.Text; using System.Globalization; using System.Security.Permissions; namespace System.Security.Principal { [Serializable] [System.Runtime.InteropServices.ComVisible(false)] public sealed class IdentityNotMappedException : SystemException { private IdentityReferenceCollection unmappedIdentities; public IdentityNotMappedException() : base( Environment.GetResourceString( "IdentityReference_IdentityNotMapped" )) { } public IdentityNotMappedException( string message ) : base( message ) { } public IdentityNotMappedException( String message, Exception inner ) : base( message, inner ) { } internal IdentityNotMappedException(string message, IdentityReferenceCollection unmappedIdentities) : this( message ) { this.unmappedIdentities = unmappedIdentities; } internal IdentityNotMappedException( SerializationInfo info, StreamingContext context ) : base ( info, context ) {} [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData( SerializationInfo serializationInfo, StreamingContext streamingContext ) { base.GetObjectData(serializationInfo, streamingContext); } public IdentityReferenceCollection UnmappedIdentities { get { if (unmappedIdentities == null) { unmappedIdentities = new IdentityReferenceCollection(); } return unmappedIdentities; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ParamArrayAttribute.cs
- AnnotationResourceChangedEventArgs.cs
- KeyNotFoundException.cs
- XmlBinaryReader.cs
- NativeMethods.cs
- AnimationException.cs
- WebMessageBodyStyleHelper.cs
- DiscreteKeyFrames.cs
- ConfigurationSettings.cs
- DbConnectionPoolGroup.cs
- ArgumentOutOfRangeException.cs
- XmlElementAttribute.cs
- SwitchExpression.cs
- DataServiceContext.cs
- HScrollBar.cs
- FlowDocumentReaderAutomationPeer.cs
- SmtpCommands.cs
- DefaultIfEmptyQueryOperator.cs
- EntityRecordInfo.cs
- AssemblyName.cs
- FamilyTypeface.cs
- ActiveXHost.cs
- DataPagerFieldItem.cs
- DocumentPageHost.cs
- HttpCachePolicyElement.cs
- TemplateNameScope.cs
- WaitHandle.cs
- XmlUnspecifiedAttribute.cs
- InvokeProviderWrapper.cs
- SyncMethodInvoker.cs
- XmlHierarchicalEnumerable.cs
- TextMetrics.cs
- XmlConverter.cs
- PagesSection.cs
- ResponseBodyWriter.cs
- XsdDuration.cs
- ListMarkerLine.cs
- KeyGestureConverter.cs
- AstNode.cs
- FixedDocumentPaginator.cs
- SmtpTransport.cs
- MaterialGroup.cs
- ScrollBar.cs
- documentation.cs
- GlyphRun.cs
- XmlChoiceIdentifierAttribute.cs
- WebPartChrome.cs
- TileBrush.cs
- TransactionManagerProxy.cs
- ParameterReplacerVisitor.cs
- WebPartTransformerAttribute.cs
- AppDomainAttributes.cs
- ConfigurationCollectionAttribute.cs
- CreateUserErrorEventArgs.cs
- DefaultMemberAttribute.cs
- CommandLibraryHelper.cs
- NetNamedPipeSecurityMode.cs
- AssemblyAttributes.cs
- SHA256Cng.cs
- QueryExecutionOption.cs
- XmlSchemaObject.cs
- AbandonedMutexException.cs
- MetadataArtifactLoaderFile.cs
- ListBindableAttribute.cs
- RightsManagementResourceHelper.cs
- VariableDesigner.xaml.cs
- SemanticAnalyzer.cs
- HttpContext.cs
- DataGridViewRowPrePaintEventArgs.cs
- DiscoveryExceptionDictionary.cs
- EncryptedType.cs
- NeutralResourcesLanguageAttribute.cs
- ReflectionTypeLoadException.cs
- XmlName.cs
- SafeHandle.cs
- ObjectView.cs
- ListBindableAttribute.cs
- HttpContextServiceHost.cs
- StructuralType.cs
- BrowserDefinition.cs
- DictionaryManager.cs
- CompositionAdorner.cs
- SmiMetaDataProperty.cs
- RubberbandSelector.cs
- BatchParser.cs
- CodeGotoStatement.cs
- Constants.cs
- IgnoreDataMemberAttribute.cs
- filewebrequest.cs
- EmptyControlCollection.cs
- ValidatedMobileControlConverter.cs
- ImportCatalogPart.cs
- OleDbCommandBuilder.cs
- EventProviderWriter.cs
- TransformGroup.cs
- Compiler.cs
- CultureSpecificStringDictionary.cs
- MouseDevice.cs
- XmlTextReader.cs
- GenericTypeParameterBuilder.cs