共用方式為


IFsrmFileScreenManager.CreateFileScreenException Method (String)

 

Creates a file screen exception object.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

IFsrmFileScreenException CreateFileScreenException(
    string Path
)
IFsrmFileScreenException^ CreateFileScreenException(
    String^ Path
)
abstract CreateFileScreenException : 
        Path:string -> IFsrmFileScreenException
Function CreateFileScreenException (
    Path As String
) As IFsrmFileScreenException

Parameters

  • Path
    Type: System.String

    The local directory path to which the file screen exception applies. The path is limited to 260 characters.

Return Value

Type: Microsoft.Storage.IFsrmFileScreenException

Returns a IFsrmFileScreenException interface of the newly created file screen exception. To add the exception to FSRM, call IFsrmFileScreenException.Commit method.

Remarks

You can use the exception to allow files to be saved in a directory when a file screen would otherwise prevent it. For example, if P:\directory contains a file screen that blocks *.mp3, you could create an exception that allows MP3 files on P:\directory\subdirectory.

See Also

FsrmFileScreenManager
IFsrmFileScreenManager Interface
Microsoft.Storage Namespace

Return to top