/// <summary> /// Creates the drop. Handles drop-related exceptions by omitting their stack traces. /// In all cases emits an appropriate <see cref="DropCreationEvent"/> indicating the /// result of this operation. /// </summary> public async Task <IIpcResult> CreateAsync() { DropCreationEvent dropCreationEvent = await SendDropEtwEvent( WrapDropErrorsIntoDropEtwEvent(InternalCreateAsync)); return(dropCreationEvent.Succeeded ? IpcResult.Success(Inv("Drop {0} created.", DropName)) : new IpcResult(IpcResultStatus.ExecutionError, dropCreationEvent.ErrorMessage)); }
/// <summary> /// Creates the drop. Handles drop-related exceptions by omitting their stack traces. /// In all cases emits an appropriate <see cref="DropCreationEvent"/> indicating the /// result of this operation. /// </summary> public async Task <IIpcResult> CreateAsync() { DropCreationEvent dropCreationEvent = await SendDropEtwEvent( WrapDropErrorsIntoDropEtwEvent(InternalCreateAsync)); return(dropCreationEvent.Succeeded ? IpcResult.Success(I($"Drop {DropName} created.")) : new IpcResult(ParseIpcStatus(dropCreationEvent.AdditionalInformation), dropCreationEvent.ErrorMessage)); }
/// <inheritdoc/> public void Log(DropCreationEvent e) { LogDropEventLocally(e); m_etwEventSource.DropCreationEvent(e); }
public abstract void DropCreationEvent(LoggingContext context, DropCreationEvent cbEvent);
/// <nodoc/> public void DropCreationEvent(DropCreationEvent eventObj) { this.WriteEvent(8, eventObj); }
/// <inheritdoc/> public void Log(DropCreationEvent e) { }