SampleActivity<T>
Define the callback that can be used in ActivityListener to allow deciding to create the Activity objects and with what data state.
public virtual IAsyncResult BeginInvoke(ref ActivityCreationOptions options, AsyncCallback callback, object object)
public virtual ActivitySamplingResult EndInvoke(ref ActivityCreationOptions options, IAsyncResult result)