CallerInfo(RuntimeTypeHandle, string, string, int, int)
Declaration
[Obsolete("Use the constructor that accepts a CallerAttributes parameter.")]
public CallerInfo(RuntimeTypeHandle sourceTypeToken, string methodName, string file, int line, int column)
Parameters
Type | Name | Description |
---|---|---|
RuntimeTypeHandle | sourceTypeToken | |
string | methodName | |
string | file | |
int | line | |
int | column |
CallerInfo(RuntimeTypeHandle, string, string, int, int, CallerAttributes)
Initializes a new CallerInfo, and uses as a RuntimeTypeHandle to specify the source type.
Declaration
public CallerInfo(RuntimeTypeHandle sourceTypeToken, string methodName, string file, int line, int column, CallerAttributes attributes)
Parameters
Type | Name | Description |
---|---|---|
RuntimeTypeHandle | sourceTypeToken | RuntimeTypeHandle of the calling type. |
string | methodName | Name of the calling method. |
string | file | Path of the source code of the calling code. |
int | line | Line in |
int | column | Column in |
CallerAttributes | attributes | Attributes. |
CallerInfo(Type, string, string, int, int)
Declaration
[Obsolete("Use the constructor that accepts a CallerAttributes parameter.")]
public CallerInfo(Type sourceType, string methodName, string file, int line, int column)
Parameters
Type | Name | Description |
---|---|---|
Type | sourceType | |
string | methodName | |
string | file | |
int | line | |
int | column |
CallerInfo(Type, string, string, int, int, CallerAttributes)
Initializes a new CallerInfo, and uses as a Type to specify the source type.
Declaration
public CallerInfo(Type sourceType, string methodName, string file, int line, int column, CallerAttributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Type | sourceType | Type of the calling type. |
string | methodName | Name of the calling method. |
string | file | Path of the source code of the calling code. |
int | line | Line in |
int | column | Column in |
CallerAttributes | attributes | Attributes. |