CleanRiaClientFilesTask Class

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Provides the functionality to delete the WCF RIA Services client files as well as other code generation metafiles generated by the CreateRiaClientFilesTask class.

Inheritance Hierarchy

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.ServiceModel.DomainServices.Tools.RiaClientFilesTask
      Microsoft.ServiceModel.DomainServices.Tools.CleanRiaClientFilesTask

Namespace:  Microsoft.ServiceModel.DomainServices.Tools
Assembly:  Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)

Syntax

'Declaration
Public Class CleanRiaClientFilesTask _
    Inherits RiaClientFilesTask
'Usage
Dim instance As CleanRiaClientFilesTask
public class CleanRiaClientFilesTask : RiaClientFilesTask
public ref class CleanRiaClientFilesTask : public RiaClientFilesTask
type CleanRiaClientFilesTask =  
    class
        inherit RiaClientFilesTask
    end
public class CleanRiaClientFilesTask extends RiaClientFilesTask

The CleanRiaClientFilesTask type exposes the following members.

Constructors

  Name Description
Public method CleanRiaClientFilesTask Creates an instance of the CleanRiaClientFilesTask class.

Top

Properties

  Name Description
Public property BuildEngine (Inherited from Task.)
Public property BuildEngine2 (Inherited from Task.)
Public property BuildEngine3 (Inherited from Task.)
Public property BuildEngine4 (Inherited from Task.)
Protected property ClientProjectDirectory Gets the absolute path to the project running this task. (Inherited from RiaClientFilesTask.)
Public property ClientProjectPath Gets or sets the path to the client project currently running this task. (Inherited from RiaClientFilesTask.)
Public property HasLoggedErrors Gets a value that indicates whether any errors were logged. (Inherited from RiaClientFilesTask.)
Protected property HelpKeywordPrefix (Inherited from Task.)
Public property HostObject (Inherited from Task.)
Public property LiveIntellisense Gets or sets a value that indicates whether this is a build specifically for Live Intellisense that should not affect artifacts used by a real build. (Inherited from RiaClientFilesTask.)
Public property Log (Inherited from Task.)
Protected property OutputDirectory Gets the absolute path of the output directory. (Inherited from RiaClientFilesTask.)
Public property OutputPath Gets or sets the path where ancillary temporary files should go. (Inherited from RiaClientFilesTask.)
Protected property TaskResources (Inherited from Task.)

Top

Methods

  Name Description
Protected method DeleteCodeGenMetafileLists Deletes the breadcrumb files created to track files written on prior pass. (Inherited from RiaClientFilesTask.)
Protected method DeleteFolderIfEmpty Deletes the specified folder if it is empty. (Inherited from RiaClientFilesTask.)
Public method Equals (Inherited from Object.)
Public method Execute Implements the normal tasks execution entry point method used by the product infrastructure. (Inherited from RiaClientFilesTask.)
Protected method ExecuteInternal Deletes the client and the code generation metafiles generated by the CreateRiaClientFilesTask class. (Overrides RiaClientFilesTask.ExecuteInternal().)
Protected method FilesPreviouslyWritten Returns the collection of full file names written previously by the last code generation pass. (Inherited from RiaClientFilesTask.)
Protected method Finalize (Inherited from Object.)
Protected method GetFullPathRelativeToDirectory Resolves a potentially relative path and a root directory to a full path. (Inherited from RiaClientFilesTask.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method LogError(String) Logs the specified error message to the logger associated with this task. (Inherited from RiaClientFilesTask.)
Public method LogError(String, String, String, String, String, Int32, Int32, Int32, Int32) Logs the specified message as a warning, together with information about the source location. (Inherited from RiaClientFilesTask.)
Public method LogMessage Logs the given informational message to the logger associated with this task. (Inherited from RiaClientFilesTask.)
Public method LogWarning(String) Logs the specified message as a warning. (Inherited from RiaClientFilesTask.)
Public method LogWarning(String, String, String, String, String, Int32, Int32, Int32, Int32) Logs the given message as a warning, together with information about the source location. (Inherited from RiaClientFilesTask.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method NormalizeProjectPaths Converts input project paths to full path names. (Inherited from RiaClientFilesTask.)
Public method ToString (Inherited from Object.)

Top

Remarks

This class is used by the WCF RIA Services infrastructure and is not expectedly to be called by developers.

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.ServiceModel.DomainServices.Tools Namespace