Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EntityPropertyMappingAttribute.cs
- SqlInternalConnection.cs
- SQLInt16.cs
- ISAPIRuntime.cs
- LoginName.cs
- SystemDropShadowChrome.cs
- DataTablePropertyDescriptor.cs
- TheQuery.cs
- HashStream.cs
- InputElement.cs
- FastPropertyAccessor.cs
- mda.cs
- TextInfo.cs
- NCryptNative.cs
- MdiWindowListItemConverter.cs
- ConfigurationManager.cs
- DrawingContextWalker.cs
- TemplateAction.cs
- BuildProviderUtils.cs
- Internal.cs
- ExpressionVisitor.cs
- Typeface.cs
- MergePropertyDescriptor.cs
- Button.cs
- ElementHostAutomationPeer.cs
- EditorServiceContext.cs
- HtmlInputReset.cs
- ComponentRenameEvent.cs
- DesignerFrame.cs
- elementinformation.cs
- ByteAnimation.cs
- FileVersionInfo.cs
- ClickablePoint.cs
- GenericEnumConverter.cs
- TypeGeneratedEventArgs.cs
- ServiceContractAttribute.cs
- TextSelectionHelper.cs
- XmlSchemaNotation.cs
- XmlSequenceWriter.cs
- ContentElement.cs
- PinnedBufferMemoryStream.cs
- ActivityStatusChangeEventArgs.cs
- DesignBindingValueUIHandler.cs
- CollectionChangeEventArgs.cs
- TreeNode.cs
- FontEmbeddingManager.cs
- ItemType.cs
- ListenerElementsCollection.cs
- MergeEnumerator.cs
- SQLDoubleStorage.cs
- DictionaryChange.cs
- PolicyException.cs
- HttpProfileGroupBase.cs
- X509ClientCertificateCredentialsElement.cs
- IncrementalCompileAnalyzer.cs
- SelectedCellsCollection.cs
- NetworkInformationException.cs
- SafeEventLogReadHandle.cs
- CheckBox.cs
- HtmlInputSubmit.cs
- TogglePattern.cs
- PolicyFactory.cs
- RepeaterItemCollection.cs
- WindowsNonControl.cs
- TransformerConfigurationWizardBase.cs
- OrderedDictionary.cs
- SqlGatherProducedAliases.cs
- CacheSection.cs
- SapiInterop.cs
- LazyLoadBehavior.cs
- XNameTypeConverter.cs
- CharStorage.cs
- MarshalByValueComponent.cs
- UrlMappingsSection.cs
- ResourcePool.cs
- DataPager.cs
- ContextMenu.cs
- AutomationPeer.cs
- TypefaceMap.cs
- PeerHopCountAttribute.cs
- PerspectiveCamera.cs
- _NestedMultipleAsyncResult.cs
- Compilation.cs
- MessageEncodingBindingElementImporter.cs
- TextDecorationCollectionConverter.cs
- SettingsSection.cs
- Assembly.cs
- DomNameTable.cs
- QuaternionRotation3D.cs
- OutputCacheModule.cs
- ContentTextAutomationPeer.cs
- PngBitmapDecoder.cs
- WarningException.cs
- RawMouseInputReport.cs
- Validator.cs
- TokenizerHelper.cs
- DbDataRecord.cs
- HttpRuntimeSection.cs
- DataGridHeaderBorder.cs
- MailAddressCollection.cs