ICodePackageActivationContext3.GetDirectory(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the path to sub directory inside the work directory with the name "logicalDirectoryName".
public string GetDirectory (string logicalDirectoryName);
abstract member GetDirectory : string -> string
Public Function GetDirectory (logicalDirectoryName As String) As String
Parameters
- logicalDirectoryName
- String
Returns
The path to sub directory with name logicalDirectoryName inside work directory
Remarks
Throws an exception if logicalDirectoryName is not found under work directory. Otherwise will return directory path WorkDirectory\logicalDirectoryName which is a symbolic link to directory specified with Name under LogicalDirectories Section of ClusterManifest. for example: if you have specified and call to this method with directoryName "Foo" will return you path WorkDirectory\Foo. Any writes made to returned path will go to D:\Foo\NodeId\ApplicationType_ApplicationVersion. This method is case insensitive so even if you say directoryName foo it will still return you directory path WorkDirectory\Foo.
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin