Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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; } } } } // 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
- ContainerParagraph.cs
- PolyLineSegmentFigureLogic.cs
- DataGridViewTextBoxColumn.cs
- RestHandler.cs
- DataGridViewIntLinkedList.cs
- TextParagraphProperties.cs
- Literal.cs
- shaperfactoryquerycachekey.cs
- MessageContractExporter.cs
- DataGridViewCellEventArgs.cs
- ApplicationHost.cs
- RequestCacheValidator.cs
- FaultContractAttribute.cs
- XPathAncestorIterator.cs
- ImageListDesigner.cs
- BoundField.cs
- Visual3D.cs
- Identity.cs
- DirectoryRedirect.cs
- WizardForm.cs
- InvariantComparer.cs
- PartitionResolver.cs
- ContentPosition.cs
- LinearQuaternionKeyFrame.cs
- RowCache.cs
- _BufferOffsetSize.cs
- ScalarType.cs
- ComplexObject.cs
- ConfigurationFileMap.cs
- SystemBrushes.cs
- dataobject.cs
- XmlWriterSettings.cs
- CopyNamespacesAction.cs
- EntityCommandCompilationException.cs
- CallContext.cs
- StringFormat.cs
- ObjectDataSourceView.cs
- NavigationWindow.cs
- DbRetry.cs
- StylusPointProperty.cs
- ButtonColumn.cs
- ListChangedEventArgs.cs
- RadioButton.cs
- CombinedGeometry.cs
- GeneralTransform3DGroup.cs
- LocalValueEnumerator.cs
- FamilyTypeface.cs
- cookiecollection.cs
- CodeMemberField.cs
- CanExecuteRoutedEventArgs.cs
- XmlDictionaryReader.cs
- BaseParagraph.cs
- CodeAttributeDeclaration.cs
- WebPartConnectionsCancelVerb.cs
- OverflowException.cs
- EFAssociationProvider.cs
- EdmSchemaAttribute.cs
- CfgRule.cs
- ImportCatalogPart.cs
- Animatable.cs
- DesignerPainter.cs
- ReliabilityContractAttribute.cs
- TextRangeEditTables.cs
- IMembershipProvider.cs
- Padding.cs
- DispatcherExceptionFilterEventArgs.cs
- AssemblyAssociatedContentFileAttribute.cs
- ICspAsymmetricAlgorithm.cs
- WorkflowNamespace.cs
- ReadOnlyCollectionBase.cs
- ConsumerConnectionPointCollection.cs
- grammarelement.cs
- DataSourceControlBuilder.cs
- SchemaComplexType.cs
- _ConnectOverlappedAsyncResult.cs
- OrCondition.cs
- CommentAction.cs
- CalendarAutomationPeer.cs
- HandlerBase.cs
- CompiledAction.cs
- Type.cs
- AccessorTable.cs
- EntityContainerRelationshipSet.cs
- TextDocumentView.cs
- AssemblyNameProxy.cs
- XslAst.cs
- HtmlControlAdapter.cs
- PasswordRecoveryAutoFormat.cs
- PermissionToken.cs
- SoapIgnoreAttribute.cs
- TreeNodeMouseHoverEvent.cs
- ResourceProviderFactory.cs
- cookie.cs
- MD5.cs
- CompiledRegexRunner.cs
- DecimalConstantAttribute.cs
- SpecularMaterial.cs
- SnapshotChangeTrackingStrategy.cs
- XmlSchemaChoice.cs
- GridViewSelectEventArgs.cs