Attachments class

代表 Attachments 的類別。

建構函式

Attachments(ConnectorClientContext)

建立附件。

建構函式詳細資料

Attachments(ConnectorClientContext)

建立附件。

new Attachments(client: ConnectorClientContext)

參數

client
ConnectorClientContext

服務客戶端的參考。

方法詳細資料

getAttachment(string, string, RequestOptionsBase)

取得具名檢視作為二進位內容

function getAttachment(attachmentId: string, viewId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentResponse>

參數

attachmentId

string

附件標識碼

viewId

string

檢視 attachmentInfo 中的標識符

options

RequestOptionsBase

傳回

Promise<Models.AttachmentsGetAttachmentResponse>

承諾<模型。附件取得附件回應>

getAttachment(string, string, RequestOptionsBase, ServiceCallback<void>)

function getAttachment(attachmentId: string, viewId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

參數

attachmentId

string

附件標識碼

viewId

string

檢視 attachmentInfo 中的標識符

options

RequestOptionsBase

選擇性參數

callback

ServiceCallback<void>

回呼

getAttachment(string, string, ServiceCallback<void>)

function getAttachment(attachmentId: string, viewId: string, callback: ServiceCallback<void>)

參數

attachmentId

string

附件標識碼

viewId

string

檢視 attachmentInfo 中的標識符

callback

ServiceCallback<void>

回呼

getAttachmentInfo(string, RequestOptionsBase)

取得描述附件檢視的 AttachmentInfo 結構

function getAttachmentInfo(attachmentId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentInfoResponse>

參數

attachmentId

string

附件標識碼

options

RequestOptionsBase

傳回

Promise<Models.AttachmentsGetAttachmentInfoResponse>

承諾<模型。附件取得附件資訊回應>

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)

function getAttachmentInfo(attachmentId: string, options: RequestOptionsBase, callback: ServiceCallback<AttachmentInfo>)

參數

attachmentId

string

附件標識碼

options

RequestOptionsBase

選擇性參數

callback

ServiceCallback<AttachmentInfo>

回呼

getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

function getAttachmentInfo(attachmentId: string, callback: ServiceCallback<AttachmentInfo>)

參數

attachmentId

string

附件標識碼

callback

ServiceCallback<AttachmentInfo>

回呼