public SectionInfo CreateSection( string name, string code, RichTextInfo description, Identifier courseOfferingId) { CreateSectionRequest request = new CreateSectionRequest() { Name = name, Code = code, Description = description, CourseOfferingId = courseOfferingId }; CreateSectionResponse response = CallWebService< IOrgUnitManagementServicev1_0, CreateSectionRequest, CreateSectionResponse>( m_service1_0, request, ( s, q ) => s.CreateSection( q ) ); return response.Section; }
/// <remarks/> public void CreateSectionAsync(CreateSectionRequest CreateSectionRequest) { this.CreateSectionAsync(CreateSectionRequest, null); }
/// <remarks/> public void CreateSectionAsync(CreateSectionRequest CreateSectionRequest, object userState) { if ((this.CreateSectionOperationCompleted == null)) { this.CreateSectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateSectionOperationCompleted); } this.InvokeAsync("CreateSection", new object[] { CreateSectionRequest}, this.CreateSectionOperationCompleted, userState); }
/// <remarks/> public System.IAsyncResult BeginCreateSection(CreateSectionRequest CreateSectionRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateSection", new object[] { CreateSectionRequest}, callback, asyncState); }