VolumeMountBindingAnnotation Methods
ClassMethods1 member
Describes how a named volume binds to a resource across the inner and outer loop.
Resolves the storage path the workload should use for the current execution mode.
public sealed class VolumeMountBindingAnnotation{ public string ResolvePath( EnvironmentCallbackContext context) { // ... }}Parameters
contextEnvironmentReturns
stringVolumeMountBindingAnnotation.MountPath when publishing or when the workload runs as a container, and otherwise a local host directory. Exceptions
InvalidOperationException Thrown when the deployed mount path is required but this binding does not declare one.