Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripStatusLabel.cs
- NotificationContext.cs
- prefixendpointaddressmessagefiltertable.cs
- PageStatePersister.cs
- DataStorage.cs
- SemanticResultValue.cs
- DataGridViewCheckBoxCell.cs
- BuildProvidersCompiler.cs
- StackOverflowException.cs
- LingerOption.cs
- DataPagerFieldCommandEventArgs.cs
- WebFormsRootDesigner.cs
- CdpEqualityComparer.cs
- StopStoryboard.cs
- ReservationNotFoundException.cs
- QueryOperationResponseOfT.cs
- SafeUserTokenHandle.cs
- CqlBlock.cs
- NetMsmqSecurityMode.cs
- ReflectionTypeLoadException.cs
- MiniCustomAttributeInfo.cs
- CodeGenHelper.cs
- FrameworkElementFactoryMarkupObject.cs
- RawMouseInputReport.cs
- RtfToXamlReader.cs
- GeneralTransform3D.cs
- ScriptHandlerFactory.cs
- DataShape.cs
- ValidatedControlConverter.cs
- CapiSymmetricAlgorithm.cs
- VerificationAttribute.cs
- UpWmlMobileTextWriter.cs
- Wildcard.cs
- DataViewSettingCollection.cs
- SqlDataSourceCommandEventArgs.cs
- CacheHelper.cs
- SystemResourceHost.cs
- Point4D.cs
- Marshal.cs
- PageCatalogPart.cs
- DataService.cs
- DataColumnSelectionConverter.cs
- DataSourceControl.cs
- XmlUrlResolver.cs
- DataBoundControlAdapter.cs
- WebPartConnectVerb.cs
- CompressEmulationStream.cs
- NameValuePair.cs
- NavigationService.cs
- PerformanceCounterPermissionEntry.cs
- TransactedBatchingBehavior.cs
- SoapIncludeAttribute.cs
- UnsafeNativeMethods.cs
- ErrorFormatterPage.cs
- ListViewItemSelectionChangedEvent.cs
- XmlArrayItemAttribute.cs
- StringAttributeCollection.cs
- ItemsPanelTemplate.cs
- TextTreePropertyUndoUnit.cs
- ButtonPopupAdapter.cs
- DataGridColumn.cs
- OrthographicCamera.cs
- _Win32.cs
- TemplateApplicationHelper.cs
- XsdCachingReader.cs
- ToolboxCategoryItems.cs
- ComponentConverter.cs
- DesignBindingConverter.cs
- UrlAuthorizationModule.cs
- AppDomainAttributes.cs
- ComponentGlyph.cs
- TypeHelper.cs
- XXXInfos.cs
- MenuAdapter.cs
- ImagingCache.cs
- CommandManager.cs
- _HelperAsyncResults.cs
- DesignerSerializerAttribute.cs
- SqlMethods.cs
- ParallelSeparator.xaml.cs
- GridViewDeletedEventArgs.cs
- Int32CAMarshaler.cs
- CustomError.cs
- QuaternionKeyFrameCollection.cs
- BinaryObjectInfo.cs
- TextSpanModifier.cs
- CodeLinePragma.cs
- __FastResourceComparer.cs
- Itemizer.cs
- FilterFactory.cs
- SettingsProperty.cs
- TemplateField.cs
- DetailsViewDeletedEventArgs.cs
- ColumnHeader.cs
- ParentControlDesigner.cs
- TagNameToTypeMapper.cs
- SoapExtension.cs
- AsyncOperation.cs
- FormCollection.cs
- DataGridViewCellValueEventArgs.cs