InstancePersistenceEvent 类
定义
表示某个实例存储区引发的用于通知主机有关情况的事件。Represents an event that an instance store raises to notify hosts about a condition. 示例:HasRunnableWorkflowEvent 和 HasActivatableWorkflowEvent。Examples: HasRunnableWorkflowEvent and HasActivatableWorkflowEvent.
public ref class InstancePersistenceEvent abstract : IEquatable<System::Runtime::DurableInstancing::InstancePersistenceEvent ^>
public abstract class InstancePersistenceEvent : IEquatable<System.Runtime.DurableInstancing.InstancePersistenceEvent>
type InstancePersistenceEvent = class
interface IEquatable<InstancePersistenceEvent>
Public MustInherit Class InstancePersistenceEvent
Implements IEquatable(Of InstancePersistenceEvent)
- 继承
-
InstancePersistenceEvent
- 派生
- 实现
属性
Name |
返回永久性事件的 XName(命名空间和名称的组合)。Returns the XName (namespace combined with name) of the persistence event. |
方法
Equals(InstancePersistenceEvent) |
确定当前的 InstancePersistenceEvent 对象和已传递的 InstancePersistenceEvent 对象是否相同。Determines whether the current InstancePersistenceEvent object and the passed InstancePersistenceEvent object are the same. |
Equals(Object) |
确定当前的 InstancePersistenceEvent 对象和已转换为 InstancePersistenceEvent 的传递对象是否相同。Determines whether the current InstancePersistenceEvent object and the passed object converted as the InstancePersistenceEvent are the same. |
GetHashCode() |
返回 InstancePersistenceEvent 实例的哈希代码。Returns the hash code for the InstancePersistenceEvent instance. |
GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |
运算符
Equality(InstancePersistenceEvent, InstancePersistenceEvent) |
返回一个值,该值指示指定的 InstancePersistenceEvent 对象是否相同。Returns a value indicating whether the specified InstancePersistenceEvent objects are the same. |
Inequality(InstancePersistenceEvent, InstancePersistenceEvent) |
返回一个值,该值指示指定的 InstancePersistenceEvent 对象是否不相同。Returns a value indicating whether the specified InstancePersistenceEvent objects are not the same. |