PipeSecurity.Persist Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves the specified sections of the security descriptor that is associated with the current PipeSecurity object to permanent storage.
Persist(String) |
Saves the specified sections of the security descriptor that is associated with the current PipeSecurity object to permanent storage. |
Persist(SafeHandle) |
Saves the specified sections of the security descriptor that is associated with the current PipeSecurity object to permanent storage. |
Saves the specified sections of the security descriptor that is associated with the current PipeSecurity object to permanent storage.
protected public:
void Persist(System::String ^ name);
protected internal void Persist (string name);
[System.Security.SecurityCritical]
protected internal void Persist (string name);
override this.Persist : string -> unit
[<System.Security.SecurityCritical>]
override this.Persist : string -> unit
Protected Friend Sub Persist (name As String)
Parameters
- name
- String
The name of the securable object that the current PipeSecurity object is associated with.
- Attributes
Applies to
.NET 9 and other versions
Product | Versions |
---|---|
.NET | Core 1.1, 6, 7, 8, 9 |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |
Saves the specified sections of the security descriptor that is associated with the current PipeSecurity object to permanent storage.
protected public:
void Persist(System::Runtime::InteropServices::SafeHandle ^ handle);
protected internal void Persist (System.Runtime.InteropServices.SafeHandle handle);
[System.Security.SecurityCritical]
protected internal void Persist (System.Runtime.InteropServices.SafeHandle handle);
override this.Persist : System.Runtime.InteropServices.SafeHandle -> unit
[<System.Security.SecurityCritical>]
override this.Persist : System.Runtime.InteropServices.SafeHandle -> unit
Protected Friend Sub Persist (handle As SafeHandle)
Parameters
- handle
- SafeHandle
The handle of the securable object that the current PipeSecurity object is associated with.
- Attributes
Applies to
.NET 9 and other versions
Product | Versions |
---|---|
.NET | Core 1.1, 6, 7, 8, 9 |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: