CalculateRequest Class

Definition

Represents a request to the built-in Excel SOA service to perform the calculation in a specified macro for an Excel workbook using the specified input.

[System.ServiceModel.MessageContract(IsWrapped=true, WrapperName="Calculate", WrapperNamespace="http://tempuri.org/")]
public class CalculateRequest
type CalculateRequest = class
Public Class CalculateRequest
Inheritance
CalculateRequest
Attributes

Constructors

CalculateRequest()

Initializes a new instance of the CalculateRequest class without specifying the macro in the Excel workbook to call or the input for that macro.

CalculateRequest(String, Byte[], Nullable<DateTime>)

Initializes a new instance of the CalculateRequest class without the specified values for the name of the macro in the Excel workbook that should perform the calculation, the input for that macro, and the date that the Excel workbook was last saved.

Fields

inputs

Contains an array of bytes that is a serialized form of a WorkItem object that represents the values for the parameters that you want to pass as input to the macro that performs the calculation.

lastSaveDate

Contains a DateTime structure that specifies the date and time that the Excel Workbook should have most recently been saved in order for the calculation to proceed, or null if the calculation should proceed regardless of the date and the time that the Excel workbook was last saved.

macroName

Contains a string that specifies the name of the macro in an Excel workbook that the built-in Excel SOA service should use to perform the requested calculation.

Applies to