[DynamicMethodAttribute]
public interface IDmtpCreatedChannelPlugin : IPlugin,
IDisposableObject, IDisposable
<DynamicMethodAttribute>
Public Interface IDmtpCreatedChannelPlugin
Inherits IPlugin, IDisposableObject, IDisposable
[<DynamicMethodAttribute>]
type IDmtpCreatedChannelPlugin =
interface
interface IPlugin
interface IDisposableObject
interface IDisposable
end
DisposedValue |
标识该对象是否已被释放
(继承自 IDisposableObject。) |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (继承自 IDisposable。) |
Loaded |
在插件被成功添加在IPluginManager时执行。
(继承自 IPlugin。) |
OnDmtpCreatedChannel | 在完成握手连接时被调用。 此方法允许插件在DMTP通道创建后执行自定义逻辑。 |
Unloaded |
在插件被Remove(IPlugin)时执行。
(继承自 IPlugin。) |
SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
内部会判断DisposedValue的值,如果为,则不会再执行Dispose。 (由 SystemExtension 定义。) |
SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
(由 SystemExtension 定义。) |