public NativeCommon.IFabricAsyncOperationContext BeginGetChaosReport( IntPtr getChaosReportDescription, uint timeoutMilliseconds, NativeCommon.IFabricAsyncOperationCallback callback) { var managedGetChaosReportDescription = GetChaosReportDescription.CreateFromNative(getChaosReportDescription); var managedTimeout = TimeSpan.FromMilliseconds(timeoutMilliseconds); return(Utility.WrapNativeAsyncMethodImplementation( (cancellationToken) => this.GetChaosReportAsync( managedGetChaosReportDescription, managedTimeout, cancellationToken), callback, "FaultAnalysisServiceBroker.GetChaosReportAsync", ThreadErrorMessageSetter)); }