Apache.NMS.ActiveMQ.BrokerException.GetObjectData C# (CSharp) Method

GetObjectData() public method

When overridden in a derived class, sets the SerializationInfo with information about the exception.
public GetObjectData ( System info, System context ) : void
info System The SerializationInfo that holds the serialized object data about the exception being thrown.
context System The StreamingContext that contains contextual information about the source or destination.
return void
        public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
        {
            base.GetObjectData(info, context);
            info.AddValue("BrokerException.brokerError", brokerError);
        }