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
- Control.cs
- AssertFilter.cs
- PeerNameRecordCollection.cs
- WorkflowServiceBehavior.cs
- SqlWorkflowInstanceStore.cs
- DataGridLengthConverter.cs
- TemplateBuilder.cs
- ChtmlMobileTextWriter.cs
- PrivateFontCollection.cs
- ProxyWebPartConnectionCollection.cs
- EntityDesignerUtils.cs
- OpenFileDialog.cs
- SymbolMethod.cs
- HttpCapabilitiesSectionHandler.cs
- CustomAttributeFormatException.cs
- ExtendedProtectionPolicyTypeConverter.cs
- XPathDocumentNavigator.cs
- RunInstallerAttribute.cs
- DataBoundControlAdapter.cs
- StylusCaptureWithinProperty.cs
- AuthenticateEventArgs.cs
- SynchronizationContext.cs
- ResourceReferenceExpression.cs
- WindowsFormsHelpers.cs
- SimpleRecyclingCache.cs
- StylusPointCollection.cs
- TraceData.cs
- AssemblyAttributesGoHere.cs
- MembershipUser.cs
- FormsAuthenticationConfiguration.cs
- VirtualDirectoryMappingCollection.cs
- SafeSystemMetrics.cs
- SoapServerMethod.cs
- FamilyTypeface.cs
- OutputCacheProfileCollection.cs
- PositiveTimeSpanValidator.cs
- RightsManagementPermission.cs
- AnyReturnReader.cs
- SelectionManager.cs
- printdlgexmarshaler.cs
- OutputScopeManager.cs
- InternalSafeNativeMethods.cs
- DateTimeOffset.cs
- TimeSpanValidatorAttribute.cs
- QueryOptionExpression.cs
- Models.cs
- ViewGenerator.cs
- TreeView.cs
- HwndTarget.cs
- ContentPosition.cs
- FormParameter.cs
- HyperLink.cs
- NavigationWindowAutomationPeer.cs
- ErrorProvider.cs
- Utils.cs
- ExternalCalls.cs
- WindowsStatusBar.cs
- AccessorTable.cs
- InstanceNotFoundException.cs
- EdgeProfileValidation.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- XmlAttributeAttribute.cs
- SeparatorAutomationPeer.cs
- DetailsViewPageEventArgs.cs
- Stroke.cs
- HashRepartitionStream.cs
- StructuralObject.cs
- ToolbarAUtomationPeer.cs
- SimpleRecyclingCache.cs
- Operator.cs
- Int64Converter.cs
- ProcessInfo.cs
- ServicePointManagerElement.cs
- Attachment.cs
- ThicknessConverter.cs
- DataGridCheckBoxColumn.cs
- StorageBasedPackageProperties.cs
- HighlightVisual.cs
- ObjectDataSourceSelectingEventArgs.cs
- AdornerDecorator.cs
- OleDbConnection.cs
- DataGridHeaderBorder.cs
- ObjectDataSourceSelectingEventArgs.cs
- SmtpReplyReaderFactory.cs
- Debug.cs
- OracleException.cs
- InputLanguageManager.cs
- GeometryDrawing.cs
- BaseValidatorDesigner.cs
- XPathNodePointer.cs
- AtlasWeb.Designer.cs
- FreezableDefaultValueFactory.cs
- RelationshipType.cs
- ZoomingMessageFilter.cs
- AnnotationResourceCollection.cs
- PixelShader.cs
- VisualStyleTypesAndProperties.cs
- ScanQueryOperator.cs
- Light.cs
- SelectionItemPattern.cs