File tree Expand file tree Collapse file tree 3 files changed +0
-25
lines changed
projects/client/RabbitMQ.Client/src/client Expand file tree Collapse file tree 3 files changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -66,17 +66,6 @@ namespace RabbitMQ.Client
66
66
/// </remarks>
67
67
public interface IConnection : NetworkConnection , IDisposable
68
68
{
69
- /// <summary>
70
- /// If true, will close the whole connection as soon as there are no channels open on it;
71
- /// if false, manual connection closure will be required.
72
- /// </summary>
73
- /// <remarks>
74
- /// DON'T set AutoClose to true before opening the first
75
- /// channel, because the connection will be immediately closed if you do!
76
- /// </remarks>
77
- [ Obsolete ( "Please explicitly close connections instead." ) ]
78
- bool AutoClose { get ; set ; }
79
-
80
69
/// <summary>
81
70
/// The maximum channel number this connection supports (0 if unlimited).
82
71
/// Usable channel numbers range from 1 to this number, inclusive.
Original file line number Diff line number Diff line change @@ -288,13 +288,6 @@ public event EventHandler<EventArgs> Recovery
288
288
289
289
public string ClientProvidedName { get ; private set ; }
290
290
291
- [ Obsolete ( "Please explicitly close connections instead." ) ]
292
- public bool AutoClose
293
- {
294
- get { return m_delegate . AutoClose ; }
295
- set { m_delegate . AutoClose = value ; }
296
- }
297
-
298
291
public ushort ChannelMax
299
292
{
300
293
get { return m_delegate . ChannelMax ; }
Original file line number Diff line number Diff line change @@ -273,13 +273,6 @@ public event EventHandler<ConnectionRecoveryErrorEventArgs> ConnectionRecoveryEr
273
273
}
274
274
public string ClientProvidedName { get ; private set ; }
275
275
276
- [ Obsolete ( "Please explicitly close connections instead." ) ]
277
- public bool AutoClose
278
- {
279
- get { return m_sessionManager . AutoClose ; }
280
- set { m_sessionManager . AutoClose = value ; }
281
- }
282
-
283
276
public ushort ChannelMax
284
277
{
285
278
get { return m_sessionManager . ChannelMax ; }
You can’t perform that action at this time.
0 commit comments