PipeSecurity.Persist 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将与当前 PipeSecurity 对象关联的安全描述符的指定部分保存到永久性存储器。
重载
| Persist(String) | 将与当前 PipeSecurity 对象关联的安全描述符的指定部分保存到永久性存储器。 | 
| Persist(SafeHandle) | 将与当前 PipeSecurity 对象关联的安全描述符的指定部分保存到永久性存储器。 | 
Persist(String)
将与当前 PipeSecurity 对象关联的安全描述符的指定部分保存到永久性存储器。
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 -> unitProtected Friend Sub Persist (name As String)参数
- name
- String
与当前 PipeSecurity 对象关联的可保护对象的名称。
- 属性
适用于
Persist(SafeHandle)
将与当前 PipeSecurity 对象关联的安全描述符的指定部分保存到永久性存储器。
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 -> unitProtected Friend Sub Persist (handle As SafeHandle)参数
- handle
- SafeHandle
与当前 PipeSecurity 对象关联的可保护对象的句柄。
- 属性