using System; using System.Runtime.Serialization; namespace System.Net { /// The exception that is thrown when an error is made while using a network protocol. // Token: 0x0200024F RID: 591 [Serializable] public class ProtocolViolationException : InvalidOperationException, ISerializable { /// Initializes a new instance of the class. // Token: 0x060014ED RID: 5357 RVA: 0x00042FC0 File Offset: 0x000411C0 public ProtocolViolationException() { } /// Initializes a new instance of the class with the specified message. /// The error message string. // Token: 0x060014EE RID: 5358 RVA: 0x00042FC8 File Offset: 0x000411C8 public ProtocolViolationException(string message) : base(message) { } /// Initializes a new instance of the class from the specified and instances. /// A that contains the information that is required to deserialize the . /// A that contains the source of the serialized stream that is associated with the new . // Token: 0x060014EF RID: 5359 RVA: 0x00042FD4 File Offset: 0x000411D4 protected ProtocolViolationException(SerializationInfo info, StreamingContext context) : base(info, context) { } /// Serializes this instance into the specified object. /// The object into which this will be serialized. /// The destination of the serialization. // Token: 0x060014F0 RID: 5360 RVA: 0x00042FE0 File Offset: 0x000411E0 void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); } /// Populates a with the data required to serialize the target object. /// The to populate with data. /// A that specifies the destination for this serialization. // Token: 0x060014F1 RID: 5361 RVA: 0x00042FEC File Offset: 0x000411EC public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { base.GetObjectData(serializationInfo, streamingContext); } } }