PersistenceProvider.Delete(Object, TimeSpan) 方法

定义

在派生类中实现时,从持久性存储区中永久删除服务状态信息。

public:
 abstract void Delete(System::Object ^ instance, TimeSpan timeout);
public abstract void Delete (object instance, TimeSpan timeout);
abstract member Delete : obj * TimeSpan -> unit
Public MustOverride Sub Delete (instance As Object, timeout As TimeSpan)

参数

instance
Object

实际的实例状态。

timeout
TimeSpan

时间段,永久性提供程序在该时间段后将中止此尝试。

适用于