/// <summary> /// Initializes a new instance of the <see cref="RenewResponseMessage"/> with the supplied <paramref name="body"/> value. /// </summary> /// <param name="expires">The <see cref="Expires"/> containing the details of the new subscription expiration.</param> public RenewResponseMessage(Expires expires) { Contract.Requires <ArgumentNullException>(expires != null, "expires"); this.body = new RenewResponseMessageBody(expires); }
/// <summary> /// Initializes a new instance of the <see cref="RenewResponseMessage"/> with the supplied <paramref name="body"/> value. /// </summary> /// <param name="body">The <see cref="RenewResponseMessageBody"/> containing the details of the new subscription expiration.</param> public RenewResponseMessage(RenewResponseMessageBody body) { Contract.Requires <ArgumentNullException>(body != null, "body"); this.body = body; }