[DynamicMethodAttribute]
public interface INamedPipeClosingPlugin : IPlugin,
IDisposableObject, IDisposable
<DynamicMethodAttribute>
Public Interface INamedPipeClosingPlugin
Inherits IPlugin, IDisposableObject, IDisposable
[<DynamicMethodAttribute>]
type INamedPipeClosingPlugin =
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。) |
OnNamedPipeClosing | 即将断开连接(仅主动断开时有效)。 |
Unloaded |
在插件被Remove(IPlugin)时执行。
(继承自 IPlugin。) |
SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
内部会判断DisposedValue的值,如果为,则不会再执行Dispose。 (由 SystemExtension 定义。) |
SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
(由 SystemExtension 定义。) |