DispatchOperation.ReleaseInstanceBeforeCall 属性

定义

获取或设置一个值,该值指定是否在调度调用前回收服务对象。Gets or sets a value that specifies whether to recycle the service object prior to dispatching the call.

public:
 property bool ReleaseInstanceBeforeCall { bool get(); void set(bool value); };
public bool ReleaseInstanceBeforeCall { get; set; }
member this.ReleaseInstanceBeforeCall : bool with get, set
Public Property ReleaseInstanceBeforeCall As Boolean

属性值

Boolean

如果在调度该调用前释放实例并创建新实例,则为 true;否则为 falsetrue if the instance is released and a new one created prior to dispatching the call; otherwise, false. 默认值为 falseThe default is false.

适用于