|
UserRoleCacheSaveFileData Method
|
Handles serialization of file to disk; virtual method allows customization (e.g., pre-save encryption and/or data merge).
Namespace: GSF.SecurityAssembly: GSF.Security (in GSF.Security.dll) Version: 2.4.207-beta
Syntax protected override void SaveFileData(
FileStream fileStream,
byte[] fileData
)
Protected Overrides Sub SaveFileData (
fileStream As FileStream,
fileData As Byte()
)
abstract SaveFileData :
fileStream : FileStream *
fileData : byte[] -> unit
override SaveFileData :
fileStream : FileStream *
fileData : byte[] -> unit
function SaveFileData(fileStream, fileData);
View SourceParameters
- fileStream FileStream
- FileStream used to serialize data.
- fileData Byte
- File data to be serialized.
Remarks
Consumers overriding this method should not directly call
FileData property to avoid potential dead-locks.
See Also