Microsoft.Protocols.TestSuites.MS_MEETS.MS_MEETSAdapter.UpdateMeetingFromICal C# (CSharp) Method

UpdateMeetingFromICal() public method

Updates content of a meeting in a workspace base on a calendar object.
public UpdateMeetingFromICal ( string icalText, bool ignoreAttendees ) : SoapResult
icalText string Updated information about the meeting instance.
ignoreAttendees bool Whether this is a scheduling-only update, or an update that affects attendees. Null if not specified.
return SoapResult
        public SoapResult<UpdateMeetingFromICalResponseUpdateMeetingFromICalResult> UpdateMeetingFromICal(string icalText, bool? ignoreAttendees)
        {
            UpdateMeetingFromICalResponseUpdateMeetingFromICalResult result = null;
            SoapException exception = null;
            try
            {
                // Call UpdateMeetingFromICal method.
                result = this.service.UpdateMeetingFromICal(icalText, ignoreAttendees ?? false, ignoreAttendees.HasValue);

                // As response successfully returned, the transport related requirements can be captured.
                this.CaptureTransportRelatedRequirements();
                this.ValidateAndCaptureCommonMessageSyntax();
                this.VerifyUpdateMeetingFromICalResponse(result);
            }
            catch (SoapException ex)
            {
                exception = ex;

                // As response successfully returned, the transport related requirements can be captured.
                this.CaptureTransportRelatedRequirements();

                // Validate soap fault message structure and capture related requirements.
                this.ValidateAndCaptureSoapFaultRequirements(exception);
            }

            return new SoapResult<UpdateMeetingFromICalResponseUpdateMeetingFromICalResult>(result, exception);
        }