Compartilhar via


Attachments class

Classe que representa um Anexos.

Construtores

Attachments(ConnectorClientContext)

Criar anexos.

Métodos

getAttachment(string, string, RequestOptionsBase)

Obter a exibição nomeada como conteúdo binário

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

Obter a estrutura AttachmentInfo que descreve as exibições de anexo

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)
getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

Detalhes do construtor

Attachments(ConnectorClientContext)

Criar anexos.

new Attachments(client: ConnectorClientContext)

Parâmetros

client
ConnectorClientContext

Referência ao cliente de serviço.

Detalhes do método

getAttachment(string, string, RequestOptionsBase)

Obter a exibição nomeada como conteúdo binário

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

Parâmetros

attachmentId

string

ID do anexo

viewId

string

Exibir id de attachmentInfo

options

RequestOptionsBase

Retornos

Promise<Models.AttachmentsGetAttachmentResponse>

> Promise<Models.AttachmentsGetAttachmentResponse

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

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

Parâmetros

attachmentId

string

ID do anexo

viewId

string

Exibir id de attachmentInfo

options

RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

O retorno de chamada

getAttachment(string, string, ServiceCallback<void>)

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

Parâmetros

attachmentId

string

ID do anexo

viewId

string

Exibir id de attachmentInfo

callback

ServiceCallback<void>

O retorno de chamada

getAttachmentInfo(string, RequestOptionsBase)

Obter a estrutura AttachmentInfo que descreve as exibições de anexo

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

Parâmetros

attachmentId

string

ID do anexo

options

RequestOptionsBase

Retornos

Promise<Models.AttachmentsGetAttachmentInfoResponse>

Promise<Models.AttachmentsGetAttachmentInfoResponse>

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)

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

Parâmetros

attachmentId

string

ID do anexo

options

RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<AttachmentInfo>

O retorno de chamada

getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

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

Parâmetros

attachmentId

string

ID do anexo

callback

ServiceCallback<AttachmentInfo>

O retorno de chamada