Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / cookieexception.cs / 1305376 / cookieexception.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net { using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; using System.Security.Permissions; ////// [Serializable] public class CookieException : FormatException, ISerializable { ///[To be supplied.] ////// public CookieException() : base() { } internal CookieException(string message) : base(message) { } internal CookieException(string message, Exception inner) : base(message, inner) { } protected CookieException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { } ///[To be supplied.] ///[SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase", Justification = "System.dll is still using pre-v4 security model and needs this demand")] [SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)] void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { base.GetObjectData(serializationInfo, streamingContext); } [SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase", Justification = "System.dll is still using pre-v4 security model and needs this demand")] [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { base.GetObjectData(serializationInfo, streamingContext); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net { using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; using System.Security.Permissions; ////// [Serializable] public class CookieException : FormatException, ISerializable { ///[To be supplied.] ////// public CookieException() : base() { } internal CookieException(string message) : base(message) { } internal CookieException(string message, Exception inner) : base(message, inner) { } protected CookieException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { } ///[To be supplied.] ///[SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase", Justification = "System.dll is still using pre-v4 security model and needs this demand")] [SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)] void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { base.GetObjectData(serializationInfo, streamingContext); } [SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase", Justification = "System.dll is still using pre-v4 security model and needs this demand")] [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { base.GetObjectData(serializationInfo, streamingContext); } } } // 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
- DataContractSerializerOperationBehavior.cs
- HealthMonitoringSectionHelper.cs
- TableCellAutomationPeer.cs
- HttpVersion.cs
- ItemAutomationPeer.cs
- ToolBarDesigner.cs
- XmlWellformedWriterHelpers.cs
- DecryptRequest.cs
- ServicePointManagerElement.cs
- CollectionViewSource.cs
- UnsafeNetInfoNativeMethods.cs
- UnsafeNativeMethods.cs
- TreeBuilder.cs
- FileDialog_Vista.cs
- TopClause.cs
- CharStorage.cs
- TransformationRules.cs
- FrameworkElementFactory.cs
- DataListGeneralPage.cs
- SmiEventSink_Default.cs
- RequestStatusBarUpdateEventArgs.cs
- XmlChildEnumerator.cs
- prompt.cs
- HtmlTernaryTree.cs
- ConfigurationStrings.cs
- SchemaCompiler.cs
- DataControlField.cs
- Region.cs
- MissingFieldException.cs
- NamespaceDecl.cs
- HelpPage.cs
- FormsAuthenticationConfiguration.cs
- HelloMessage11.cs
- OperandQuery.cs
- PropertyValue.cs
- Scene3D.cs
- DetailsViewUpdatedEventArgs.cs
- ExecutionContext.cs
- InputBinder.cs
- Error.cs
- TableLayoutStyleCollection.cs
- OleDbException.cs
- PersonalizableAttribute.cs
- DataGridHeaderBorder.cs
- HeaderedItemsControl.cs
- DBAsyncResult.cs
- GroupBoxRenderer.cs
- SelectionRangeConverter.cs
- DBNull.cs
- ScrollPattern.cs
- MultiBinding.cs
- LocalizedNameDescriptionPair.cs
- COM2ColorConverter.cs
- HttpListenerException.cs
- ActiveXHelper.cs
- ReferencedAssembly.cs
- ScheduleChanges.cs
- _TransmitFileOverlappedAsyncResult.cs
- Switch.cs
- Button.cs
- DataGridView.cs
- RuntimeConfig.cs
- ResourcePool.cs
- RtfControls.cs
- Oid.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- EngineSite.cs
- Exceptions.cs
- coordinatorfactory.cs
- TreeNodeBindingCollection.cs
- RestHandler.cs
- ComboBoxAutomationPeer.cs
- SecurityTokenException.cs
- SpellerInterop.cs
- LinearKeyFrames.cs
- StreamUpdate.cs
- smtppermission.cs
- FixedSOMFixedBlock.cs
- RequestQueryProcessor.cs
- PKCS1MaskGenerationMethod.cs
- UnsafeNativeMethods.cs
- PersistencePipeline.cs
- CompressedStack.cs
- WmlLinkAdapter.cs
- AccessorTable.cs
- XPathNodeIterator.cs
- PathSegment.cs
- EntityDataSourceColumn.cs
- Form.cs
- AuthorizationRuleCollection.cs
- IpcServerChannel.cs
- EntityContainer.cs
- UrlPropertyAttribute.cs
- SqlNodeAnnotation.cs
- Container.cs
- ToolBarOverflowPanel.cs
- RecipientInfo.cs
- Regex.cs
- SafeMILHandle.cs
- TypeSystemProvider.cs