Transmission.Split(Func<Int32,Int32>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Splits the Transmission object into two pieces using a method to determine the length of the first piece based off of the length of the transmission.
public virtual Tuple<Microsoft.ApplicationInsights.Channel.Transmission,Microsoft.ApplicationInsights.Channel.Transmission> Split (Func<int,int> calculateLength);
abstract member Split : Func<int, int> -> Microsoft.ApplicationInsights.Channel.Transmission * Microsoft.ApplicationInsights.Channel.Transmission
override this.Split : Func<int, int> -> Microsoft.ApplicationInsights.Channel.Transmission * Microsoft.ApplicationInsights.Channel.Transmission
Public Overridable Function Split (calculateLength As Func(Of Integer, Integer)) As Tuple(Of Transmission, Transmission)
Parameters
Returns
A tuple with the first item being a Transmission object with n ITelemetry objects and the second item being a Transmission object with the remaining ITelemetry objects.
Applies to
Azure SDK for .NET