コード例 #1
0
 /// <summary>
 /// Implements the Dispose pattern for the AmazonSimpleNotificationServiceClient
 /// </summary>
 /// <param name="fDisposing">Whether this object is being disposed via a call to Dispose
 /// or garbage collected.</param>
 protected virtual void Dispose(bool fDisposing)
 {
     if (!this.disposed)
     {
         if (fDisposing && credentials != null)
         {
             if (ownCredentials)
             {
                 credentials.Dispose();
             }
             credentials = null;
         }
         this.disposed = true;
     }
 }