menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ServiceInvokedEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ServiceInvokedEventArgs

    Provides data for the ServiceInvoked event, triggered after the server has processed a service request. This includes the action that was performed, the response data returned by the server, and the option to cancel further processing.

    Inheritance
    System.Object
    ServiceInvokedEventArgs
    Namespace: Syncfusion.Blazor.PivotView
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ServiceInvokedEventArgs : Object
    Remarks

    Use this event to inspect or validate the server response before it is applied to the Pivot Table. You may also cancel the default processing if the response needs to be ignored or handled manually.

    Constructors

    ServiceInvokedEventArgs()

    Declaration
    public ServiceInvokedEventArgs()

    Properties

    Action

    Gets or sets the action that was performed in the Pivot Table, such as "Fetch", "Sort", "Filtering", or "DrillThrough". This indicates the operation that triggered the server response.

    Declaration
    public string Action { get; set; }
    Property Value
    Type Description
    System.String

    A string identifying the completed action.

    Cancel

    Gets or sets a value indicating whether the response should be ignored. If set to true, the Pivot Table will not apply the server response, and no changes will be made to the UI.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true to prevent applying the response to the Pivot Table; otherwise, false.

    Remarks

    This can be used to stop rendering updates when the response is invalid or requires further client-side validation.

    HttpResponse

    Gets or sets the response data returned from the server after processing the request. This typically includes the updated pivot data, aggregated values, metadata, or updated configuration for rendering.

    Declaration
    public HttpContent HttpResponse { get; set; }
    Property Value
    Type Description
    System.Net.Http.HttpContent

    A System.Net.Http.HttpContent object representing the server response data.

    Remarks

    You can read or deserialize the content to examine the server-provided result before applying it to the UI.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved