Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This class and its members are reserved for internal use and are not intended to be used in your code.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Shared Sub ValidateFileName ( _
serviceProvider As IServiceProvider, _
filePath As String _
)
public static void ValidateFileName(
IServiceProvider serviceProvider,
string filePath
)
public:
static void ValidateFileName(
IServiceProvider^ serviceProvider,
String^ filePath
)
static member ValidateFileName :
serviceProvider:IServiceProvider *
filePath:string -> unit
public static function ValidateFileName(
serviceProvider : IServiceProvider,
filePath : String
)
Parameters
- serviceProvider
Type: System.IServiceProvider
The service provider.
- filePath
Type: System.String
A full path of a file name.
Remarks
Exceptions: InvalidOperationException. In case of failure an Invalid Operation Exception is thrown.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal Namespace