다음을 통해 공유


FsrmFileScreenManagerClass.CreateFileScreenException Method (String)

 

Creates a file screen exception object.

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

Syntax

public virtual IFsrmFileScreenException CreateFileScreenException(
    string Path
)
public:
virtual IFsrmFileScreenException^ CreateFileScreenException(
    String^ Path
)
abstract CreateFileScreenException : 
        Path:string -> IFsrmFileScreenException
override CreateFileScreenException : 
        Path:string -> IFsrmFileScreenException
Public Overridable 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 Commit method.

Implements

IFsrmFileScreenManager.CreateFileScreenException(String)

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

IFsrmFileScreenManager
FsrmFileScreenManager
FsrmFileScreenManagerClass Class
Microsoft.Storage Namespace

Return to top