Partager via


AzureWebsiteApiBaseActivity<T> Class

Inheritance Hierarchy

System.Object
  System.Activities.Activity
    System.Activities.ActivityWithResult
      System.Activities.Activity<T>
        System.Activities.AsyncCodeActivity<T>
          Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity<T>
            Microsoft.TeamFoundation.Deployment.Workflow.Activities.AzureWebsiteApiBaseActivity<T>
              Microsoft.TeamFoundation.Deployment.Workflow.Activities.GetAzureWebsitePublishProfile

Namespace:  Microsoft.TeamFoundation.Deployment.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Deployment.Workflow (in Microsoft.TeamFoundation.Deployment.Workflow.dll)

Syntax

'Declaration
Public MustInherit Class AzureWebsiteApiBaseActivity(Of T) _
    Inherits RestApiAsyncCodeActivity(Of T)
public abstract class AzureWebsiteApiBaseActivity<T> : RestApiAsyncCodeActivity<T>
generic<typename T>
public ref class AzureWebsiteApiBaseActivity abstract : public RestApiAsyncCodeActivity<T>
[<AbstractClass>]
type AzureWebsiteApiBaseActivity<'T> =  
    class 
        inherit RestApiAsyncCodeActivity<'T>
    end
JScript does not support generic types or methods.

Type Parameters

  • T

The AzureWebsiteApiBaseActivity<T> type exposes the following members.

Constructors

  Name Description
Protected method AzureWebsiteApiBaseActivity<T>

Top

Properties

  Name Description
Public property AllowUntrustedCertificates (Inherited from RestApiAsyncCodeActivity<T>.)
Protected property CacheId Gets the identifier of the cache that is unique within the scope of the workflow definition. (Inherited from Activity.)
Public property ConnectedService (Inherited from RestApiAsyncCodeActivity<T>.)
Protected property Constraints Gets a collection of Constraint activities that can be configured to provide validation for the Activity. (Inherited from Activity.)
Public property DisplayName Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.)
Public property Id Gets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.)
Protected property Implementation Gets nulla null reference (Nothing in Visual Basic) or throws an error when there is an attempt to set the value of this property. (Inherited from AsyncCodeActivity<T>.)
Public property Result Gets or sets the result argument for the Activity<TResult>. (Inherited from Activity<T>.)
Public property ResultType When implemented in a derived class, gets the type of an activity OutArgument. (Inherited from ActivityWithResult.)
Public property WebsiteEnvironment

Top

Methods

  Name Description
Protected method BeginExecute (Inherited from RestApiAsyncCodeActivity<T>.)
Protected method CacheMetadata(ActivityMetadata) Not implemented. Use CacheMetadata instead. (Inherited from AsyncCodeActivity<T>.)
Protected method CacheMetadata(CodeActivityMetadata) (Overrides RestApiAsyncCodeActivity<T>.CacheMetadata(CodeActivityMetadata).)
Protected method Cancel (Inherited from RestApiAsyncCodeActivity<T>.)
Protected method CleanupVariables (Overrides RestApiAsyncCodeActivity<T>.CleanupVariables(AsyncCodeActivityContext).)
Protected method EndExecute (Inherited from RestApiAsyncCodeActivity<T>.)
Protected method EnsureSuccessStatusCode
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method FormatRequestUri
Protected method GetApiTask
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetRequestUri
Protected method GetTask (Overrides RestApiAsyncCodeActivity<T>.GetTask(AsyncCodeActivityContext, CancellationToken).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ShouldSerializeDisplayName Indicates whether the DisplayName property should be serialized. (Inherited from Activity.)
Public method ToString Returns a String that contains the Id and DisplayName of the Activity. (Inherited from Activity.)
Protected method WriteExceptionInformation (Overrides RestApiAsyncCodeActivity<T>.WriteExceptionInformation(AsyncCodeActivityContext, Exception).)

Top

Extension Methods

  Name Description
Public Extension Method GetAssemblyMetadataCollection (Defined by WorkflowHelpers.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Deployment.Workflow.Activities Namespace