# Dataflow v1beta3 API - Enum DataSamplingConfig.Types.DataSamplingBehavior (2.0.0-beta10)

2.0.0-beta10 (latest) 2.0.0-beta09 1.0.0-beta03

    public enum DataSamplingConfig.Types.DataSamplingBehavior

Reference documentation and code samples for the Dataflow v1beta3 API enum DataSamplingConfig.Types.DataSamplingBehavior.

The following enum defines what to sample for a running job.

## Namespace

[Google.Cloud.Dataflow.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3)

## Assembly

Google.Cloud.Dataflow.V1Beta3.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `AlwaysOn` | When given, enables sampling in-flight from all PCollections. |
| `Disabled` | When given, disables element sampling. Has same behavior as not setting the behavior. |
| `Exceptions` | When given, enables sampling input elements when a user-defined DoFn causes an exception. |
| `Unspecified` | If given, has no effect on sampling behavior. Used as an unknown or unset sentinel value. |