Struct winrt::windows::foundation::diagnostics::IFileLoggingSession
source · #[repr(C)]pub struct IFileLoggingSession { /* private fields */ }
Implementations§
source§impl IFileLoggingSession
impl IFileLoggingSession
pub fn get_name(&self) -> Result<HString>
pub fn add_logging_channel(&self, loggingChannel: &ILoggingChannel) -> Result<()>
pub fn add_logging_channel_with_level(
&self,
loggingChannel: &ILoggingChannel,
maxLevel: LoggingLevel
) -> Result<()>
pub fn remove_logging_channel(
&self,
loggingChannel: &ILoggingChannel
) -> Result<()>
pub fn add_log_file_generated(
&self,
handler: &TypedEventHandler<IFileLoggingSession, LogFileGeneratedEventArgs>
) -> Result<EventRegistrationToken>
pub fn remove_log_file_generated(
&self,
token: EventRegistrationToken
) -> Result<()>
Methods from Deref<Target = IInspectable>§
sourcepub fn get_iids(&self) -> ComArray<Guid>
pub fn get_iids(&self) -> ComArray<Guid>
Returns the interfaces that are implemented by the current Windows Runtime object.
sourcepub fn get_trust_level(&self) -> TrustLevel
pub fn get_trust_level(&self) -> TrustLevel
Returns the trust level of the current Windows Runtime object.
Methods from Deref<Target = IUnknown>§
Trait Implementations§
source§impl ComInterface for IFileLoggingSession
impl ComInterface for IFileLoggingSession
source§impl Deref for IFileLoggingSession
impl Deref for IFileLoggingSession
§type Target = IInspectable
type Target = IInspectable
The resulting type after dereferencing.
source§fn deref(&self) -> &IInspectable
fn deref(&self) -> &IInspectable
Dereferences the value.
source§impl DerefMut for IFileLoggingSession
impl DerefMut for IFileLoggingSession
source§fn deref_mut(&mut self) -> &mut IInspectable
fn deref_mut(&mut self) -> &mut IInspectable
Mutably dereferences the value.