C# 클래스 Microsoft.CodeAnalysis.Sarif.Driver.TempFile

Temporary file class; implements IDisposable to ensure an effort is made to delete the temporary file in the face of exceptions. If you need a directory or set of files instead of a file, use the TempDirectory class instead.
상속: IDisposable
파일 보기 프로젝트 열기: Microsoft/sarif-sdk 1 사용 예제들

공개 메소드들

메소드 설명
CreateTempName ( ) : string

Creates temporary path name.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Makes a best-effort attempt to delete the temporary file.

TempFile ( ) : System

Initializes a new instance of the TempFile class.

비공개 메소드들

메소드 설명
DisposeImplementation ( ) : void
TempFile ( string requestedExtension ) : System

메소드 상세

CreateTempName() 공개 정적인 메소드

Creates temporary path name.
public static CreateTempName ( ) : string
리턴 string

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Makes a best-effort attempt to delete the temporary file.
public Dispose ( ) : void
리턴 void

TempFile() 공개 메소드

Initializes a new instance of the TempFile class.
public TempFile ( ) : System
리턴 System