Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Principal / IdentityNotMappedException.cs / 1305376 / 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 ) {} [System.Security.SecurityCritical] // auto-generated_required 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 ) {} [System.Security.SecurityCritical] // auto-generated_required 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
- XmlWhitespace.cs
- DirectoryNotFoundException.cs
- RegexReplacement.cs
- MLangCodePageEncoding.cs
- ListViewHitTestInfo.cs
- StrokeNode.cs
- MaterializeFromAtom.cs
- TemplateContentLoader.cs
- DEREncoding.cs
- DataBoundControlDesigner.cs
- SecurityUtils.cs
- AssemblyCache.cs
- RelationshipDetailsRow.cs
- XmlQuerySequence.cs
- DownloadProgressEventArgs.cs
- DeclarativeCatalogPartDesigner.cs
- HttpClientChannel.cs
- FileResponseElement.cs
- CreateInstanceBinder.cs
- ClientSettings.cs
- AutomationElement.cs
- RowTypeElement.cs
- DocumentXmlWriter.cs
- TextServicesManager.cs
- SocketAddress.cs
- Constraint.cs
- XamlParser.cs
- FormsIdentity.cs
- XmlLinkedNode.cs
- RawKeyboardInputReport.cs
- GuidelineSet.cs
- HttpCapabilitiesSectionHandler.cs
- LinqToSqlWrapper.cs
- EncoderExceptionFallback.cs
- Positioning.cs
- TTSVoice.cs
- Quaternion.cs
- ControllableStoryboardAction.cs
- RuleSettings.cs
- RotationValidation.cs
- BuildManagerHost.cs
- SizeFConverter.cs
- Rotation3DAnimation.cs
- XPathException.cs
- StringPropertyBuilder.cs
- AppDomainInfo.cs
- LayoutDump.cs
- ServiceDescriptionReflector.cs
- SqlCommandSet.cs
- DbConnectionPoolGroup.cs
- DataGridViewSortCompareEventArgs.cs
- GenericUI.cs
- TypeValidationEventArgs.cs
- ArithmeticException.cs
- ImageConverter.cs
- DbProviderFactories.cs
- ToolStripOverflow.cs
- LinqDataSource.cs
- ListViewItemSelectionChangedEvent.cs
- CellQuery.cs
- Wizard.cs
- KeyValueSerializer.cs
- ZoneIdentityPermission.cs
- SerializationAttributes.cs
- ObjectQueryProvider.cs
- TextDpi.cs
- LocationUpdates.cs
- TimeZoneNotFoundException.cs
- tabpagecollectioneditor.cs
- ValidateNames.cs
- SystemIPGlobalStatistics.cs
- Activator.cs
- CharKeyFrameCollection.cs
- PropertyDescriptorCollection.cs
- ThreadAbortException.cs
- UnmanagedMemoryStreamWrapper.cs
- ProjectionPathSegment.cs
- DefaultValueMapping.cs
- Preprocessor.cs
- VSDExceptions.cs
- AuthenticationException.cs
- Helpers.cs
- ColumnMap.cs
- RawStylusInputReport.cs
- SafePEFileHandle.cs
- FileCodeGroup.cs
- AddressAlreadyInUseException.cs
- ImageField.cs
- BaseDataList.cs
- GPRECT.cs
- DataProtection.cs
- AsyncWaitHandle.cs
- ByteStorage.cs
- CompoundFileStorageReference.cs
- EntityPropertyMappingAttribute.cs
- FormView.cs
- RichTextBox.cs
- ProjectionCamera.cs
- bindurihelper.cs
- ParseElement.cs