Compartilhar via


Interface ISession

 

Representa a execução de uma patente carta.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (em Microsoft.TeamFoundation.TestManagement.Client.dll)

Sintaxe

public interface ISession : ITestRunBase, IIdentifiable<int>, 
    IAttachmentOwner, INotifyPropertyChanged
public interface class ISession : ITestRunBase, IIdentifiable<int>, 
    IAttachmentOwner, INotifyPropertyChanged
type ISession = 
    interface
        interface ITestRunBase
        interface IIdentifiable<int>
        interface IAttachmentOwner
        interface INotifyPropertyChanged
    end
Public Interface ISession
    Inherits ITestRunBase, IIdentifiable(Of Integer), IAttachmentOwner,
    INotifyPropertyChanged

Propriedades

Nome Descrição
System_CAPS_pubproperty Attachments

Obtém a coleção de anexos.(herdado de IAttachmentOwner.)

System_CAPS_pubproperty Bookmarks

Indexadores criados ao executar essa sessão.

System_CAPS_pubproperty BuildConfigurationId

Retorna a identificação de configuração de compilação para essa executada ou 0 se nenhuma identificação existe (herdado de ITestRunBase.)

System_CAPS_pubproperty BuildFlavor

Sabor de compilação como “versão” ou “depuração”. (herdado de ITestRunBase.)

System_CAPS_pubproperty BuildNumber

Name of the build.(herdado de ITestRunBase.)

System_CAPS_pubproperty BuildPlatform

Plataforma de compilação. (herdado de ITestRunBase.)

System_CAPS_pubproperty BuildUri

Name (as a URI) of the build the run was executed against.

As an example: new Uri("vstfs:///Build/Build/1")(herdado de ITestRunBase.)

System_CAPS_pubproperty CharterId

A identificação de carta patente para que a sessão foi executada. 0 para a sessão ad hoc.

System_CAPS_pubproperty Comment

Comments entered by those analyzing the run.(herdado de ITestRunBase.)

System_CAPS_pubproperty ComputerName

O computador no qual a sessão foi executada.

System_CAPS_pubproperty Controller

The name of the controller of this run(herdado de ITestRunBase.)

System_CAPS_pubproperty DateCompleted

Date the last test completed.(herdado de ITestRunBase.)

System_CAPS_pubproperty DateCreated

Date the run was created.(herdado de ITestRunBase.)

System_CAPS_pubproperty DateStarted

Date the run was started.(herdado de ITestRunBase.)

System_CAPS_pubproperty Duration

Duração da sessão de teste.

System_CAPS_pubproperty FeedbackId

A identificação de comentários para que a sessão foi executada. 0 se a sessão não é criada para comentários.

System_CAPS_pubproperty Id

Obtém o identificador.(herdado de IIdentifiable<TKey>.)

System_CAPS_pubproperty IsDirty

Returns true if the test run has been changed since the last Save().(herdado de ITestRunBase.)

System_CAPS_pubproperty LastUpdated

Date the run was last modified (title or owner set).(herdado de ITestRunBase.)

System_CAPS_pubproperty LastUpdatedBy

Last person to update run(herdado de ITestRunBase.)

System_CAPS_pubproperty LastUpdatedByName

Last person to update run(herdado de ITestRunBase.)

System_CAPS_pubproperty LinkedWorkItemCount

The total number of bugs associated with the test results.(herdado de ITestRunBase.)

System_CAPS_pubproperty Notes

Notas criadas para executar a sessão.

System_CAPS_pubproperty Owner

User who started the run.(herdado de ITestRunBase.)

System_CAPS_pubproperty OwnerName

User who started the run.(herdado de ITestRunBase.)

System_CAPS_pubproperty OwnerTeamFoundationId

User who started the run.(herdado de ITestRunBase.)

System_CAPS_pubproperty Revision

Revision number of TestRun for concurrency control(herdado de ITestRunBase.)

System_CAPS_pubproperty Sprint

Sprint em que a sessão foi criada.

System_CAPS_pubproperty State

Estado de sessão.

System_CAPS_pubproperty TestConfigurationId

A identificação da sessão configuração foi executado contra.

System_CAPS_pubproperty TestConfigurationName

O nome da configuração essa sessão foi executado contra.

System_CAPS_pubproperty TestEnvironmentId

The test environment for this run(herdado de ITestRunBase.)

System_CAPS_pubproperty TestPlanId

Returns the ID of the test plan that contains this run or 0 if this is an ad-hoc run.(herdado de ITestRunBase.)

System_CAPS_pubproperty TestSettings

The test settings being used for this test run execution. Null if the run has no test settings.(herdado de ITestRunBase.)

System_CAPS_pubproperty TestSettingsId

ID of the public test settings being used for this test run.(herdado de ITestRunBase.)

System_CAPS_pubproperty Title

Title of the associated run template.(herdado de ITestRunBase.)

System_CAPS_pubproperty UserStoryId

Identificação de O artigo de usuário para que a sessão foi executada. 0 para a sessão ad hoc.

System_CAPS_pubproperty UserStoryTitle

O título de artigo de usuário de sessão, até a data de quando a sessão é recuperada do servidor.

Pode ser o zero se o servidor é uma versão anterior, ou se o servidor não é capaz de buscar o título.

Métodos

Nome Descrição
System_CAPS_pubmethod AssociateWorkItem(WorkItem)

Associa o item de trabalho dado com essa sessão.

System_CAPS_pubmethod CopyTestSettings(ITestSettings)

Copy the test settings and associate it to the test run.(herdado de ITestRunBase.)

System_CAPS_pubmethod CreateAttachment(Byte[], Int32, Int32)

Creates an attachment for a Test Result from a byte array.(herdado de ITestRunBase.)

System_CAPS_pubmethod CreateAttachment(String)

Cria um anexo de um arquivo. (herdado de IAttachmentOwner.)

System_CAPS_pubmethod CreateAttachment(String, SourceFileAction)

Cria um anexo de um arquivo, excluindo opcionalmente o arquivo de origem após carregamento.(herdado de IAttachmentOwner.)

System_CAPS_pubmethod CreateBookmark()

Cria um indicador de sessão.

System_CAPS_pubmethod CreateNote()

Cria uma nota de sessão.

System_CAPS_pubmethod Delete()

Removes the given test run and its results from the server.(herdado de ITestRunBase.)

System_CAPS_pubmethod DisassociateWorkItem(WorkItem)

Remove a associação do item de trabalho dado do resultado de análise.

System_CAPS_pubmethod QueryAssociatedWorkItems()

Recupera os itens de trabalho associados com essa sessão do servidor.

System_CAPS_pubmethod Refresh()

Updates the run with new data from the server.(herdado de ITestRunBase.)

System_CAPS_pubmethod Save()

Writes the new or updated test run to the server.(herdado de ITestRunBase.)

System_CAPS_pubmethod Save(Boolean)

Informações de sessão atualizado de envia para o servidor.

Eventos

Nome Descrição
System_CAPS_pubevent AttachmentUploadCompleted

Este evento é gerado quando o carregamento de anexo terminar.(herdado de IAttachmentOwner.)

System_CAPS_pubevent PropertyChanged

(herdado de INotifyPropertyChanged.)

Consulte também

Namespace Microsoft.TeamFoundation.TestManagement.Client

Retornar ao topo