LoggingConfigurationManager.ConfigureFromXmlAsync Method |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: 6.10.10.0 (6.10.10.0)
public static Task ConfigureFromXmlAsync( this LoggingBackend backend, Uri uri, CancellationToken cancellationToken = null )
Parameters
- backend
- Type: PostSharp.Patterns.Diagnostics.LoggingBackend
The backend to configure. - uri
- Type: System.Uri
The location of the configuration file. The schema is described in the LoggingConfigurationModel type. If you're using a cloud storage service, this should be a direct download link. - cancellationToken (Optional)
- Type: System.Threading.CancellationToken
A CancellationToken.
Return Value
Type: TaskNothing.