共用方式為


ResolveAddressCompletedEventArgs 建構函式

定義

初始化 ResolveAddressCompletedEventArgs 的新執行個體。

public:
 ResolveAddressCompletedEventArgs(System::Device::Location::CivicAddress ^ address, Exception ^ error, bool cancelled, System::Object ^ userState);
public ResolveAddressCompletedEventArgs (System.Device.Location.CivicAddress address, Exception error, bool cancelled, object userState);
new System.Device.Location.ResolveAddressCompletedEventArgs : System.Device.Location.CivicAddress * Exception * bool * obj -> System.Device.Location.ResolveAddressCompletedEventArgs
Public Sub New (address As CivicAddress, error As Exception, cancelled As Boolean, userState As Object)

參數

address
CivicAddress

CivicAddress,包含從緯度/經度位置所解析的位置 (如果成功的話)。

error
Exception

例外狀況的例外狀況物件,即在嘗試解析位址期間可能發生的任何例外狀況。

cancelled
Boolean

如果作業已取消則為 true,否則為 false

userState
Object

用以追蹤解析地址之要求的語彙基元。 如果沒有使用,則可以是 null

備註

這個建構函式是公用的,因此實作 介面的 ICivicAddressResolver 類別可以建立這個對象來引發事件。

適用於