SpeechRecognizer.Dispose 方法

定义

处置此 SpeechRecognizer 对象。

重载

Dispose(Boolean)

处置 SpeechRecognizer 对象并释放会话期间使用的资源。

Dispose()

处置此 SpeechRecognizer 对象。

Dispose(Boolean)

Source:
SpeechRecognizer.cs
Source:
SpeechRecognizer.cs

处置 SpeechRecognizer 对象并释放会话期间使用的资源。

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

参数

disposing
Boolean

若要释放托管资源和非托管资源,则为 true;若仅释放非托管资源,则为 false

适用于

Dispose()

Source:
SpeechRecognizer.cs
Source:
SpeechRecognizer.cs

处置此 SpeechRecognizer 对象。

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

实现

适用于