ResponseObject<TMessage extends EmailMessage> constructor

ResponseObject<TMessage extends EmailMessage>(
  1. Item referenceItem
)
Initializes a new instance of the The reference item.

Implementation

ResponseObject(Item referenceItem) : super(referenceItem.Service) {
  EwsUtilities.Assert(
      referenceItem != null, "ResponseObject.ctor", "referenceItem is null");

  referenceItem.ThrowIfThisIsNew();

  this._referenceItem = referenceItem;
}