Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Net / System / Net / ProtocolViolationException.cs / 1 / ProtocolViolationException.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net { using System.Runtime.Serialization; using System.Security.Permissions; ////// [Serializable] public class ProtocolViolationException : InvalidOperationException, ISerializable { ////// An exception class used when an attempt is made to use an invalid /// protocol. /// ////// public ProtocolViolationException() : base() { } ////// Creates a new instance of the ///class. /// /// public ProtocolViolationException(string message) : base(message) { } protected ProtocolViolationException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { } ////// Creates a new instance of the ////// class with the specified message. /// [SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)] void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { base.GetObjectData(serializationInfo, streamingContext); } [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { base.GetObjectData(serializationInfo, streamingContext); } }; // class ProtocolViolationException } // namespace System.Net // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net { using System.Runtime.Serialization; using System.Security.Permissions; ////// [Serializable] public class ProtocolViolationException : InvalidOperationException, ISerializable { ////// An exception class used when an attempt is made to use an invalid /// protocol. /// ////// public ProtocolViolationException() : base() { } ////// Creates a new instance of the ///class. /// /// public ProtocolViolationException(string message) : base(message) { } protected ProtocolViolationException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { } ////// Creates a new instance of the ////// class with the specified message. /// [SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)] void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { base.GetObjectData(serializationInfo, streamingContext); } [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { base.GetObjectData(serializationInfo, streamingContext); } }; // class ProtocolViolationException } // namespace System.Net // 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
- MeshGeometry3D.cs
- ClassDataContract.cs
- Code.cs
- DbQueryCommandTree.cs
- EntityDataSourceDesignerHelper.cs
- Font.cs
- VirtualizedItemPattern.cs
- _AcceptOverlappedAsyncResult.cs
- WebConfigManager.cs
- MemberMaps.cs
- UnknownWrapper.cs
- SmtpNetworkElement.cs
- AmbientLight.cs
- NavigationPropertyEmitter.cs
- SqlWebEventProvider.cs
- ParameterSubsegment.cs
- CompatibleComparer.cs
- IssuanceTokenProviderState.cs
- StringSource.cs
- CustomErrorsSectionWrapper.cs
- AssemblyAttributes.cs
- ToolStripPanelRow.cs
- Helper.cs
- TextParentUndoUnit.cs
- _Win32.cs
- HtmlButton.cs
- HighlightComponent.cs
- BoolLiteral.cs
- Stream.cs
- ConcurrentStack.cs
- DependencyPropertyChangedEventArgs.cs
- DbProviderManifest.cs
- DataExchangeServiceBinder.cs
- SchemeSettingElement.cs
- OleDbMetaDataFactory.cs
- securitymgrsite.cs
- SQLBytesStorage.cs
- ValueHandle.cs
- TextMetrics.cs
- CommandLineParser.cs
- DataServiceQuery.cs
- HttpDebugHandler.cs
- CellRelation.cs
- Rect3D.cs
- GorillaCodec.cs
- AxisAngleRotation3D.cs
- RequestNavigateEventArgs.cs
- StringUtil.cs
- SignedInfo.cs
- DataGridDetailsPresenter.cs
- AppPool.cs
- InheritanceAttribute.cs
- _UncName.cs
- querybuilder.cs
- PointConverter.cs
- StyleXamlTreeBuilder.cs
- WindowsUpDown.cs
- EncodingInfo.cs
- Rect3D.cs
- CustomValidator.cs
- TreeNodeBindingCollection.cs
- CustomErrorsSectionWrapper.cs
- CqlLexer.cs
- AssertFilter.cs
- GeometryDrawing.cs
- ResourceAttributes.cs
- TextTreeRootTextBlock.cs
- XamlGridLengthSerializer.cs
- WithParamAction.cs
- StylusDevice.cs
- Tuple.cs
- BulletedList.cs
- SeekableReadStream.cs
- GridViewUpdatedEventArgs.cs
- XmlParser.cs
- ObjectSecurity.cs
- Misc.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- contentDescriptor.cs
- _NegoState.cs
- CodeMethodReturnStatement.cs
- SmiConnection.cs
- Simplifier.cs
- ActivityExecutor.cs
- ErrorBehavior.cs
- ZoneMembershipCondition.cs
- VisualCollection.cs
- MaterialGroup.cs
- Transform.cs
- ApplicationDirectory.cs
- Subtree.cs
- ActivityExecutorSurrogate.cs
- EntityModelBuildProvider.cs
- MemoryFailPoint.cs
- PrinterResolution.cs
- GregorianCalendarHelper.cs
- Blend.cs
- dataSvcMapFileLoader.cs
- PreservationFileWriter.cs
- SpellerHighlightLayer.cs