DataSetsBuilderAddFailure(DataSpec, Failure) Method |
Adds an association between a
DataSpec from the request and a
Failure from the response, without dealing directly with the
string keys that are used in the XML.
Namespace: DegreeDays.Api.DataAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public DataSetsBuilder AddFailure(
DataSpec dataSpec,
Failure failure
)
Public Function AddFailure (
dataSpec As DataSpec,
failure As Failure
) As DataSetsBuilder
Parameters
- dataSpec DataSpec
- The non-null DataSpec object that's
processing resulted in failure.
- failure Failure
- The non-null Failure that resulted when
the API tried to generate a data set to satisfy
dataSpec.
Return Value
DataSetsBuilderthis, for method chaining.
Exceptions See Also