OracleAccessToken(char)

This constructor creates an OracleAccessToken object with the access token provided by the application.

Declaration

// C#
public OracleAccessToken(char[] token);

Exceptions

ArgumentNullException is raised if token is passed in as null.

Description

The char[] passed by the application for the access token will be cleared by ODP.NET. Applications should not depend on this char[] once this constructor is called.