Beispiel #1
0
        /// <summary>
        /// Clones the connection and resets the state as if it was never used
        /// </summary>
        /// <returns></returns>
        public Object Clone()
        {
            MwsConnection conn = (MwsConnection)base.MemberwiseClone();

            conn.cachedServiceMap = new Dictionary <string, ServiceEndpoint>();
            conn.frozen           = false;
            return(conn);
        }
Beispiel #2
0
 public MwsAQCall(MwsConnection connection, MwsConnection.ServiceEndpoint serviceEndpoint, string operationName)
 {
     this.connection      = connection;
     this.serviceEndPoint = serviceEndpoint;
     this.operationName   = operationName;
 }